The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

question about easyapache and php 5.2

Discussion in 'EasyApache' started by Venomous21, Apr 1, 2014.

  1. Venomous21

    Venomous21 Well-Known Member

    Joined:
    Jun 28, 2012
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    We still have a couple servers running php 5.2.x and are planning to upgrade them to 5.3 or 5.4 asap once our testing has been completed. Is it possible to run easy apache and upgrade apache to the latest 2.2.27 release and keep running 5.2.x or will we now be forced to select php 5.3 or newer to perform the apache 2.2.27 rebuild? I'd like to update apache while we continue getting our sites ready for the newer php releases.

    Thank you!
     
  2. Shavaun

    Shavaun Well-Known Member

    Joined:
    Aug 15, 2013
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    If you want to be able to select PHP 5.2 in EasyApache, you must install the PHP 5.2 custom module before running EasyApache. You can find the PHP 5.2 custom module, and directions to install it, here: https://documentation.cpanel.net/display/EA/Custom+Modules

    If you use FCGI, download the PHP 5.2 custom module with FCGI.

    Please note that we do not support custom modules. If you use the PHP 5.2 custom module, you will also lose the ability to build certain PHP modules with EasyApache, though we do include most of the common ones with the opt mod.

    After you install that custom module, run EasyApache and you should see PHP 5.2 in the Exhaustive Options List.

    If you run into issues with the custom module, or when you are ready to upgrade to 5.3 or 5.4, deselect the PHP 5.2 option and select the desired PHP version from the PHP Version interface.
     
  3. sozotech

    sozotech Well-Known Member

    Joined:
    Jul 26, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I ran easy apache and noticed 5.2 was not an option so I installed the 5.2 module but when I go into easy apache it still does not show 5.2 as an option. Is there anything I need to do to get 5.2 to show up as an option?

    Thanks,
    Eric
     
  4. Shavaun

    Shavaun Well-Known Member

    Joined:
    Aug 15, 2013
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    After you install the 5.2 opt mod, it will show under your Exhaustive Options list. It won't be in the PHP Version list.

    Does it show in your Exhaustive Options List or is it nowhere at all? If it is nowhere at all, you might want to make sure that you installed it in the correct directory, as mentioned in our doc: https://documentation.cpanel.net/display/EA/Custom+Modules
     
Loading...

Share This Page