update v 5.3.x => v 5.5.x

Hi there,

we have been using PHP 5.3.18 for some time and would like to upgrade to version 5.5.10.

We build PHP from source.

When configuring PHP 5.5.10 with our options we get back an error message:

WARNING: unrecognized options:
–enable-magic-quotes, --enable-mm, --enable-safe-mode, --enable-trans-sid, --with-dom, --with-xml

Are these options enabled in PHP 5.5 by default?

Did their names change?

Are they obsolete (no replacement)?

Thanks,

Blondie

Warning This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
http://www.php.net/manual/en/security.magicquotes.php http://www.php.net/manual/en/features.safe-mode.php ..etc

Hi,

Thanks for your reply.

I tried to update to PHP 5.5.10, but a lot of code does not work without problems, e.g.:

[b][i]Mar 25 11:49:37 server httpd: PHP Warning: flock() expects parameter 1 to be re
source, boolean given in …

Mar 25 11:54:22 server httpd: PHP Warning: PHP Startup: Unable to load dynamic
library ‘/usr/local/lib/php/extensions/suhosin.so’ - /usr/local/lib/php/extensio
ns/suhosin.so: undefined symbol: output_globals in Unknown on line 0

Mar 25 11:56:51 server httpd: PHP Fatal error: Call to undefined function impor
t_request_variables() in …

Mar 25 12:02:11 server httpd: PHP Warning: imagejpeg(): Filename cannot be empt
y in …

Mar 25 12:19:06 server httpd: PHP Warning: fopen(./assets/plugindata/captchadat
a.php): failed to open stream: Permission denied in …

Mar 25 13:48:54 server httpd: PHP Warning: getimagesize(A/.gif): failed to open
stream: No such file or directory in …
[/i][/b]
Thus I guess the PHP programmers will have to change their code, running with PHP 5.5.x.

CU

I have same problem as blondie.

Sponsor our Newsletter | Privacy Policy | Terms of Service