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.

Skipping Php Change In Compile

Discussion in 'EasyApache' started by btaylor927, Jul 30, 2015.

  1. btaylor927

    btaylor927 Registered

    Joined:
    Jan 12, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    We're trying to automate the roll out of new apache versions onto servers, but have the issue that some legacy systems are running PHP 5.2. Whilst we do plan to upgrade these in the near future, we still want to ensure they're on the latest apache builds.

    At the moment we're scripting the use of /scripts/easyapache --build to run through and put the latest apache builds in place, but what happens if this is run on a 5.2 server? Will it force the server up to 5.3 because of 5.2 not being included in the standard process or will it leave the PHP as is?

    If it's the latter, is there a simple way to have it skip the PHP part of the process and just rebuild apache? The docs aren't very clear on this.
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Not sure of the answer to your question. But this has always been something I didn't like about EasyApache. PHP shouldn't be tied to EasyApache. I would dare say nothing should be tied to EasyApache. EasyApache should be for compiling Apache.

    Want to install PHP? Have an EasyPHP script if you want to do that.

    Want to install ModSecurity? Have an EasyModSecurity script (or a DSO catalog that you can use, that's separate from EasyApache, to install Apache modules).

    This would clear up this issue for you. Updating Apache would just be a matter of running EasyApache to recompile Apache, without the worry that anything PHP related would break.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will not be able to continue using PHP 5.2 unless you install it as a custom module:

    EasyApache - Custom Modules

    Please note the following:

    Thank you.
     
Loading...

Share This Page