Jump to content

PHP & Apache Upgrade


Replicada

Recommended Posts

Hey,

 

In SSH, run

 

/scripts/upcp --force

(before you run this, make sure you have the right settings in your update config. found in root WHM Server Configuration > Update Config. If not this may cause you to upgrade cPanel to an un-stable version like cPanel 11)

 

then

 

/scripts/easyapache

 

Once in easyapache, I chose option 6, and then the PHP option I want. Once you have all that "X" chose Exit and it will rebuild Apache/PHP.

 

 

You can also compile them by downloading the source from PHP.net and running the ./configure in the extracted folders. However that will require a little more knowledge. You can also hire a server management company (like my self) to do this for you for a small fee.

 

From,

Adam

Link to comment
Share on other sites

/scripts/upcp without "--force" is usually fine if your cpanel setup is not experiencing problems and simply needs to update the version. /scripts/upcp --force will force reinstallation of most all of the cpanel.

Link to comment
Share on other sites

Hey,

 

Yes you are correct, however cPanel needs to delete/update the cpapachebuild folder in the /home directory where all the source files are kept when you run /script/easyapache.

 

Most of the time you will be fine if you don't run it, however I have seen some strange errors (mostly on older servers) where this is a problem. So I always run the --force or at least the upcp before any easyapache upgrade.

 

From,

Adam

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated