Configure Advanced Apache and PHP
Posted by ASO Admin on 11 February 2020 09:45 AM
|
|
Note: please review the basic How to Update Apache before continuing. This article continues with advanced options for Apache/PHP. In the EasyApache utility, there is an option for Exhaustive Options List. These options span several screens, and include Apache modules as well as PHP extensions and modules you can use. Apache ModulesMost of the defaults are acceptable. Anything not enabled by default is probably not needed, unless you know why. Some Apache modules will display differently depending on the Apache version you selected earlier. You should read the Apache documentation for each option if you want to enable it. https://documentation.cpanel.net/display/EA/EasyApache Other ModulesMany of these are additional servers such as Tomcat (.jsp pages), Mono (ASP.NET) and PHP Extensions like eAccelerator, Suhosin, Zend Optimizer, etc. They were previously seen in the "Short Options List" in the initial configuration. eAccelerator for PHP PHP ModulesEach of these modules enable particular functionality with PHP. Generally, you should only enable those that you need to keep overall memory usage low. You can visit http://php.net to find the details on each module and what it does. The following options are commonly needed so be sure they are selected. Finishing UpOnce you've selected the PHP modules you need, you can Save and Build. This process will take a while. The whole process is logged to a file, and if there is an error you will be presented an error message or a note to check the log file. If you run into an error, you can submit a support request and copy the error messages you received along with your detailed explanation of the problem. If everything builds okay, congratulations! You can now restart your other services and start using your new Apache configuration! | |
|