Update Apache
Posted by H9 Admin on 14 January 2015 02:12 PM
|
|
Before you begin, you may wish to review the cPanel Apache Configuration Guide: http://docs1.cpanel.net/twiki/bin/view/EasyApache3/WebHome Your WHM control panel includes an option to configure Apache options under Software -> Apache Update. However, the build process can use a substantial amount of memory. If you are running a personal or professional VPS and have a high level of memory usage, you may need to stop various services to free up memory. If you host customer sites on your VPS, you may need to schedule a maintenance window in advance to minimize downtime for your clients. A sensible approach is to login via SSH to do the update manually and issue the following commands: /usr/local/cpanel/bin/tailwatchd stop service httpd stop service mysql stop service cpanel stop
PHP VersionYou'll then have the option to select the PHP version you want. On the Short Options List, you can select the basic options to configure. Be aware that these options can break your Apache configuration if you do not configure them properly. Be careful! You can now save and build Apache. If you need specific PHP options configured, select Exhaustive Options List and choose the options you need. The following is a short list of most popular and commonly needed options: There are also many other common options already selected for you, leave these selected. Once you've compiled Apache and there are no errors or problems, you can restart the services you previously disabled: /scripts/restartsrv_tailwatchd service cpanel status service mysql status service httpd status | |
|