I'm unable to run my update.php script because, despite everything working properly and my system passing the compatibility test, I still get an error in my update.php: "Your PHP environment does not support the minimum requirements for the AWS SDK for PHP."

Anyone have any ideas? Thanks in advance!

CommentFileSizeAuthor
#11 1395498-ob-start.patch1.93 KBboombatower

Comments

boombatower’s picture

Category: bug » support

meet the requirements? or remove the module...

Saoirse1916’s picture

Yes, it met all requirements -- I ended up removing the module, running update.php, then adding it back in.

boombatower’s picture

if you clear cache and visit the reports page it shows as all green? otherwise possible core is doing something weird during the update process to mess things up? I can't imagine what.

Saoirse1916’s picture

Yes, the report shows all green and everything works properly but I can't run update.php with the module enabled.

boombatower’s picture

Status: Active » Closed (cannot reproduce)

I cannot reproduce...can you possible provide more details or debug further?

afeijo’s picture

This is happening to me as well

the Report page shows this: Your PHP environment does not support the minimum requirements for the AWS SDK for PHP.

And the update.php shows it too, and won't go ahead

The compatible test page shows all green, no problems there

afeijo’s picture

I've talked to justafish, he helped me dig into this problem. He believe this is a bug

I have all up to date modules, aws sdk, etc. It was all working fine the past few days, nothing has been changed

Yet today I noticed this error:

AWSSDK	1.5.0.1 [compatibility test]
Your PHP environment does not support the minimum requirements for the AWS SDK for PHP.

I digged it a big, the ob_get_clean() function (line 79) returns that my system does not support it! weird, see:

#! /usr/bin/env php

[1;37m[44m AWS SDK for PHP [0m
PHP Environment Compatibility Test (CLI)
----------------------------------------

PHP 5.2 or newer............ [1;37m[42m Yes [0m 5.3.5-1ubuntu7.4
64-bit architecture......... [1;37m[41m No  [0m
cURL with SSL............... [1;37m[42m Yes [0m 7.21.3 (OpenSSL/0.9.8o)
Standard PHP Library........ [1;37m[42m Yes [0m
SimpleXML................... [1;37m[42m Yes [0m
JSON........................ [1;37m[42m Yes [0m
PCRE........................ [1;37m[42m Yes [0m
File system read/write...... [1;37m[42m Yes [0m
OpenSSL extension........... [1;37m[42m Yes [0m
Zlib........................ [1;37m[42m Yes [0m
APC......................... [1;37m[41m No  [0m
XCache...................... [1;37m[41m No  [0m
Memcache.................... [1;37m[41m No  [0m
Memcached................... [1;37m[41m No  [0m
PDO......................... [1;37m[42m Yes [0m
SQLite 2.................... [1;37m[41m No  [0m
SQLite 3.................... [1;37m[41m No  [0m
PDO-SQLite driver........... [1;37m[41m No  [0m
open_basedir disabled....... [1;37m[42m Yes [0m
safe_mode disabled.......... [1;37m[42m Yes [0m
Garbage Collector enabled... [1;37m[41m No  [0m
Valid SSL certificate....... [1;37m[42m Yes [0m

----------------------------------------

[1;37m[42m Your environment meets the minimum requirements for using the AWS SDK for PHP! [0m

* The OpenSSL extension is installed. This will allow you to use CloudFront
  Private URLs and decrypt Windows instance passwords.
* The Zlib extension is installed. The SDK will automatically leverage the
  compression capabilities of Zlib.
* You're running on a 32-bit system. This means that PHP does not correctly
  handle files larger than 2GB (this is a well-known PHP issue).
* Storage types available for response caching: The file system

Bottom Line: We're sorry... Your PHP environment does not support the minimum requirements for the 
AWS SDK for PHP.
boombatower’s picture

Category: support » bug
Status: Closed (cannot reproduce) » Needs work

If ob_get_clean() does not work on your system, then 1) [my original question] how does this work normally...nothing special about update.php, 2) how is that a bug? if anything we might have to check for the functions existence..i dunno.

afeijo’s picture

My site is working with the AWS services (upload/download normal)

The only problem is with that error in the Report page, and the fact that it disrupt the update.php

boombatower’s picture

Title: AWS SDK prevents blocks update.php » Check for the availability of ob_start()
Assigned: Unassigned » boombatower
Category: bug » task
Status: Needs work » Active
boombatower’s picture

Status: Active » Needs review
StatusFileSize
new1.93 KB

Try this out.

boombatower’s picture

Status: Needs review » Fixed

Committed this along with a number of other hook_requirements() tweaks/improvements. Please see commits for details.

Re-open if still an issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.