Configuring Advanced Apache and PHP
Posted by on 14 June 2012 11:29 AM
Advanced Apache/PHP Configuration
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.
Other ModulesMany of these are additional servers such as Tomcat (.jsp pages), Mono (ASP.NET) and PHP Extensions like Suhosin, Zend Optimizer, etc. They were previously seen in the "Short Options List" in the initial configuration.
IonCube Loader for PHP
Suhosin for PHP
SourceGuardian Loader for PHP
Zend Optimizer 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.
Once you've selected the PHP modules you need, you can Save and Build.