You are not logged in.
Good evening,
Upgrading php(-fpm) to 5.4.3 has gotten me into much trouble with all kinds of applications of which the developers haven't adjusted yet. For that reason I would like to get back to 5.3.8, but the downgrading doesn't go as easily as I had hoped. For example, when I downgrade to php-fpm 5.3.8 and try to reload, I get the following error:
php-fpm: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directorySo then I would have to downgrade pcre too, I think, though doing that still gives me the same error.
I was wondering if someone could give me a direction to downgrading this package. Thanks in advance.
EDIT:
I tried again, but then linked libpcre.so to libpcre.so.0, but then I got all kinds of other errors, like:
PHP Warning: PHP Startup: curl: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20090626
These options need to matchThat above is a couple times for different modules.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: zend_new_interned_string in Unknown on line 0And this also happens a couple times, for xsl, apc and imagick.
Last edited by YellowSloth (2012-06-03 20:11:57)
Offline
You need to compile your own set of PHP 5.3 packages then. Just download the last 5.3 PKGBUILD and adjust that. Also don't use 5.3.8 but 5.3.13. as it contains several security fixes.
But: it is most likely easier to get your apps to work with 5.4.
Offline
I aggre with Pierre.
Here is a list of changes: http://www.php.net/manual/en/migration5 … atible.php
There shouldn't be too many problems if your apps work with 5.3.x EXCEPT your devs use features that have been already depricated in 5.3.x.
For all the big php applications there are updates for 5.4.x available (Drupal, Wordpress, Typo3 etc.)
Offline