Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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,777
    Likes Received:
    120
    Trophy Points:
    343
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice