PHP-5.3 and PHP5.2

                   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!!!!

 

 

You may also like...

  • http://masedi.net/ Echizen

    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

    • admin

      Thanks, for your Comment. I will add it soon, and I will update you…

    • admin

      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.

  • http://www.megahost.com.br Alexandre Duran

    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

    • admin

      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.

      • admin

        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.

    • admin

      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.

  • http://www.megahost.com.br Alexandre Duran

    Thanks prajith. my email:

    alexandre.duran AT gmail.com

  • http://www.socheaphost.com Saleh Ahmed

    Nice work.
    When php5.3.10 will be available?

    • admin

      I am still working on that. Please let me know your email address, so that I can inform you the update.

    • admin

      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.

  • http://www.xhn.es alberto

    Hi, i am installing right now, but how can be it unninstalled if i need to?

    • admin

      download the following script and execute.
      prajith.in/cpanel/uninstal1.sh

  • http://twitter.com/sathyavpk Sathyavrathan PK

    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

    • admin

      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.

  • Ashish

    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.

    • admin

      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

    • admin

      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

  • http://www.agilechai.com Sameer

    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

  • Sathyavrathan PK

    Prajith,

    This script is still supported and will work right? I am gonna try in a live server :-| Please confirm and thanks in advance.