Did you configure your source before running make?
The following will show you your current PHP options:
Code:
# php -i | grep -configure
Then you need to run configure with those same options (!!!OPTIONS!!!):
Code:
# ./configure !!!OPTIONS!!!
# make
# make check
# make install
You could just simply use EasyApache but if for some odd reason, it doesn't work .....
Here is the basic instructions to manually compile PHP 5.2.11 (part of which is already given above) ....
It sometimes helps to find all the "extension=(something).so" lines in your /usr/local/lib/php.ini file and comment those lines out with a semicolon prefix (
before running your upgrade. This will prevent modules incompatible with the new version from derailing your upgrade. You can re-enable those lines after the upgrade.
Code:
# cd /usr/local/src
# wget http://us3.php.net/get/php-5.2.11.tar.bz2/from/us.php.net/mirror
# tar jxvf php-5.2.11.tar.bz2
# cd ./php-5.2.11
# php -i | grep configure # Take note of your current PHP versions './configure' options
# ./configure #Append your previous noted './configure' options from last line here
# make
# make check
# make install
That's pretty much the basic rundown. You may need to go back and setup any additional load extensions
such as Zend Optimizer or IonCube again after you upgrade your PHP but this should get you upgraded.