在cpanel上同时安装PHP-5.3及PHP5.2

This is a small script to run both php-5.2.x and 5.3.x on same cpanel server.

Steps:
1) compile php-5.2.x using easyapache.
2)download the script from http://prajith.in/cpanel/installphp.sh

wget http://prajith.in/cpanel/installphp.sh
3)sh installphp.sh
4) select the php version
Enter the PHP version[5.3.10 or 5.3.8] :
5) done!

Now we will get an option on cpanel to switch php versions for each accounts!
Go to cpanel >> software >> PHP Version
Thats it!!!!

来源链接:http://www.prajith.in/install-php-5-2-and-5-3-on-cpanel-server/

Leave a Reply