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.

PHP Unattended

Discussion in 'EasyApache' started by sparek-3, Oct 8, 2014.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Is there a way to run easyapache from the shell and just upgrade PHP on an unattended console?

    For example when PHP 5.4.34 is released, is there a single command that can be run on the shell to run through easyapache and compile PHP 5.3.34 with the same option that are currently in place?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You could use a command such as:

    Code:
    /scripts/easyapache --build
    This will start the build right away, however a new version of PHP is only installed if the previous version is no longer offered (e.g. 5.4.33 over 5.4.32).

    Thank you.
     
Loading...

Share This Page