install php 5.2 and 5.3 on cpanel server.
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!!!!
PHP-5.3 and PHP5.2
Hi, Prajith
nice to see your great work,
as we know that cpanel has rolling out php 5.3.10, how I install it use your script?
thank in advance
Thanks, for your Comment. I will add it soon, and I will update you…
Hi,
php-5.3.10 is ready now. You can install this by downloading and executing the following script
wget http://prajith.in/cpanel/installphp.sh
Please feel free to get back to me if you need any further assistance.
Hi Prajith, congratulations from Brazil.
This is realy a great addon for cpanel.
It is possible to compile the IONCUBE loader and php 5.3.10 ?
Thanks
You are welcome:). You can install the Ioncube on php.5.3.8(Custom php ) by simply executing the below command.
/scripts/installmodules –install IonCubeLoader
Regrading php5.3.10. I am working on it. If you can provide me your email address, I will let you know, the instructions about the 5.3.10 installation.
Hi,
php5.3.10 is ready now. You can install this by downloading and executing the given script
wget http://prajith.in/cpanel/installphp.sh
Please feel free to get back to me if you need any further assistance.
Hi,
php5.3.10 is ready now. You can install this by downloading and executing the following script
wget prajith.in/cpanel/installphp.sh
Please feel free to get back to me if you need any further assistance.
Thanks prajith. my email:
alexandre.duran AT gmail.com
Nice work.
When php5.3.10 will be available?
I am still working on that. Please let me know your email address, so that I can inform you the update.
Hi,
php5.3.10 is ready now. You can install this by downloading and executing the following script
wget http://prajith.in/cpanel/installphp.sh
Please feel free to get back to me if you need any further assistance.
Hi, i am installing right now, but how can be it unninstalled if i need to?
download the following script and execute.
prajith.in/cpanel/uninstal1.sh
Hi Prajith, this really looks awesome, I stumbled to your website by looking for running php 5.2 & php 5.3 in the same cPanel Server.
But I would like to clarify few things before installing this.
If I use this script, will I get all the php modules installed for php 5.2 using the /scripts/easyapache? And what if I had situation to rerun easyapache for adding additional php module? will that break the secondly installed php 5.3 in anyway?
I am asking because I would like to install this to one of my server where multiple client websites hosted.
Awaiting your reply, Thanks,
Sathyavrathan PK
Yes. You will get the all default php modules when you installing this plugin, if you installing additional php modules after installing my plugin, you may need to recompile the plugin by using same installation script. I f you need any further assistance or free installation you can contact me through my personal email address prajith@prajith.in.
Hello Prajith, Wonderful script. Please tell us how we can install the php 5.3.13 , just change the version number in the script or something else need to be done. Post the updated script soon.
you can simply change the php version, by editing my install script. Please let me know if you need a customizes script.
Pingback: Update php 5.3.10 to 5.3.13 | whatisvps.info
you can simply change the php version, by editing my install script. Please let me know if you need a customized script. Please let me know
Excellent script! thank you
I modified to work with 5.3.17 and put it here incase anyone else needs (just changed the version thats all)
http://agilechai.com/files/installphp5317.sh
Prajith,
This script is still supported and will work right? I am gonna try in a live server 😐 Please confirm and thanks in advance.
My Server is running PHP Version 5.2.17, I would like to keep it as it is and add PHP Version 5.3.27 (latest of 5.3) parallely. Can you provide a custom script? or guide me to the necessary modifications in this script. Thanks in advance.