Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14611 reviews 1734 hosting providers

Questions & Answers

Problem Upgrading from PHP 5.2 to PHP 5.3

Apr 21, 2012 by TheRock
Upgrade  from PHP  5.2 to PHP 5.3

I am running a server with centos 5.7 and Directadmin. When I upgraded to php version 5.3, following custombuild instructions, I got the following error:

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

How can I fix thus?

Thanks

2 Answers

0 votes
Apr 21, 2012 by tareq101
change the code as following;

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.
0 votes
Apr 21, 2012 by expert
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