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

 

 

PHP-5.3 and PHP5.2

22 thoughts on “PHP-5.3 and PHP5.2

  • February 12, 2012 at 6:15 pm
    Permalink

    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

    Reply
    • February 14, 2012 at 9:29 pm
      Permalink

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

      Reply
    • March 7, 2012 at 5:59 pm
      Permalink

      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.

      Reply
  • February 28, 2012 at 4:04 pm
    Permalink

    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

    Reply
    • February 29, 2012 at 9:39 am
      Permalink

      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.

      Reply
      • March 7, 2012 at 5:58 pm
        Permalink

        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.

        Reply
    • March 7, 2012 at 5:58 pm
      Permalink

      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.

      Reply
    • March 4, 2012 at 11:42 am
      Permalink

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

      Reply
    • March 7, 2012 at 5:57 pm
      Permalink

      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.

      Reply
  • March 13, 2012 at 2:20 am
    Permalink

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

    Reply
    • March 13, 2012 at 8:32 am
      Permalink

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

      Reply
  • April 17, 2012 at 9:21 am
    Permalink

    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

    Reply
    • April 19, 2012 at 7:46 pm
      Permalink

      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.

      Reply
  • May 19, 2012 at 4:58 pm
    Permalink

    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.

    Reply
    • May 21, 2012 at 8:53 pm
      Permalink

      you can simply change the php version, by editing my install script. Please let me know if you need a customizes script.

      Reply
  • Pingback: Update php 5.3.10 to 5.3.13 | whatisvps.info

    • May 21, 2012 at 8:52 pm
      Permalink

      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

      Reply
  • September 9, 2013 at 6:10 am
    Permalink

    Prajith,

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

    Reply
  • February 6, 2014 at 11:54 am
    Permalink

    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.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Fork me on GitHub