upgrade to php 5.3

aoimacollamain

Verified User
Joined
Jul 5, 2004
Messages
9
Location
Ireland
I am running a server with centos 5.7 and Directadmin. When upgrading to php version 5.3, following instructions in custombuild, I am getting this errror message:

Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
PHP Warning: PHP Startup: http: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0

What do I need to do to fix this? It is causing a number of web applications to fail.

Thanks

Steve
 
Code:
cd /usr/local/directadmin/custombuild
./build update
./build set zend yes
./build set ioncube yes
./build zend d
./build ioncube d

You also might need to edit your php.ini and remove old zend lines.
 
Thanks
I ran these commands and there is now one less error:

Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220090626,NTS
PHP Warning: PHP Startup: http: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match

I wonder about the line:
PHP Warning: PHP Startup: http: Unable to initialize module
Module compiled with module API=20060613

Is mod http still needed or should I comment out that line in php.ini
 
Hi

I am still getting that error about http.so

PHP Warning: PHP Startup: http: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0

I commented out several lines of my php.ini file to look like this:

; Local Variables:
; tab-width: 4
; End:
zend_extension=/usr/local/lib/ioncube_loader_lin_5.3.so


[Zend]
;zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
;zend_optimizer.version=3.3.3
;zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
;zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
zend_extension=/usr/local/lib/ZendGuardLoader.so

I am getting "Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request." messages on some pages
 
When upgrading PHP from 5.2 to 5.3 you need to rebuild:

1. all PHP extensions, loaded as modules
2. Apache
3. mod_suphp (in case it's used)
 
Back
Top