How to build Apache and PHP in WHM/cPanel
To build Apache and PHP in cPanel
WHM/cPanel uses " Easy Apache" system to manage PHP and Apache. By using this feature you can easily upgrade/downgrade versions of Apache and PHP. This also allows you to change the handler' s configuration, enable/disable suEXEC and PHP versions. Procedure to build Apache and PHP in WHM/cPanel is explained in this tutorial.
Login to the WHM Page and then navigate to Software-> EasyApache3.
Check for the latest version of Apache and PHP software. To add additional modules in Apache and PHP. Click customized Profile.
Apache version
Now choose the required version of Apache and Click Next Step to proceed.
PHP version
Choose the required version of PHP and Click Next Step to proceed.
Short Option List
Mod SuPHP 0.7.2 and IonCube 4 loader are available in the option list by default. To add additional modules in Option List. Click " Exhaustive Option List"
Exhaustive Option List
It contains all the Built-in modules in Apache. To know more about specific Apache modules visit,
http://httpd.apache.org/
Apache Built-in modules
Now select Apache Built-in modules as per your Server requirement.
Other modules
In ' Other modules' , Ioncube 4 loader will be enabled by default.
PHP Modules
Enable specific modules for PHP as required.
Preferences
Add your preferences. Here, we are Enabling ' Report errors to cPanel' .
Then select ' save only' or ' save and build' to continue. But it is recommended to click save only.
Click ' Build profile I just saved' to start building the Apache and PHP. You can also view the previous configuration by clicking ' Go back to profile screen' .
In the Acknowledgement window, Click ' I understand' to Start building Apache and PHP.
If the server does not have enough memory to build via a browser, then you have to build via command line with /usr/local/cPanel/scripts/easyapache
' Configure Suexec and PHP' window appears. Edit the setting if required and click Save new configuration and then Close.
Now Apache and PHP is configured and build to the latest version.
Comments ( 0 )
No comments available