Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cpanel:apache-configuration [2010-05-20 23:25:09]
garrett.plasky
cpanel:apache-configuration [2010-09-01 15:08:00]
garrett.plasky Approved
Line 2: Line 2:
  
 cPanel makes use of it's proprietary "EasyApache" system for manging Apache and PHP (and related modules). It is currently in it's third iteration, commonly referred to as **EA3**. EA3 allows you to easily enable support for all kinds of Apache and PHP modules, as well as upgrade/downgrade versions for both. cPanel makes use of it's proprietary "EasyApache" system for manging Apache and PHP (and related modules). It is currently in it's third iteration, commonly referred to as **EA3**. EA3 allows you to easily enable support for all kinds of Apache and PHP modules, as well as upgrade/downgrade versions for both.
- 
 ==== Getting Started ==== ==== Getting Started ====
  
-The EA3 system can be invoked by two different methods. The first is through the WHM under **Main >> Software >> EasyApache (Apache Update)**. The other is through SSH: run the script <c>/scripts/easyapache</c> from a root-level SSH session. Both will present you with the same screen and the WHM version is shown below:+The EA3 system can be invoked by two different methods. The first is through the WHM under **Main >> Software >> EasyApache (Apache Update)**. The other is through SSH by running the script <c>/scripts/easyapache</c> from a root-level SSH session. Both will present you with the same screenthe WHM version is shown below:
 {{ :cpanel:easyapache.png?200&direct |EasyApache Initial Screen}} {{ :cpanel:easyapache.png?200&direct |EasyApache Initial Screen}}
  
 You can select any one of the build options listed on this screen and select //Build Profile Now// and the system will automatically rebuild Apache+PHP based on that profile. Click the More Info link next to the profile for more information on what it builds. You can select any one of the build options listed on this screen and select //Build Profile Now// and the system will automatically rebuild Apache+PHP based on that profile. Click the More Info link next to the profile for more information on what it builds.
- 
 ==== Custom Configuration ==== ==== Custom Configuration ====
 Generally speaking, however, you will want to add a custom set of Apache or PHP modules. The first step is to leave the "Previously Saved Config" option checked, and hit //Start customizing based on profile//. Generally speaking, however, you will want to add a custom set of Apache or PHP modules. The first step is to leave the "Previously Saved Config" option checked, and hit //Start customizing based on profile//.
Line 19: Line 17:
 On the next screen you will select your Minor PHP version. Generally speaking you want to go with the latest available version, however you should check PHP's [[http://www.php.net/ChangeLog-5.php|changelog]] to ensure the latest version does not have any major changes that will not break your scripts. If you find that it does, you can always run EasyApache again and downgrade a version. On the next screen you will select your Minor PHP version. Generally speaking you want to go with the latest available version, however you should check PHP's [[http://www.php.net/ChangeLog-5.php|changelog]] to ensure the latest version does not have any major changes that will not break your scripts. If you find that it does, you can always run EasyApache again and downgrade a version.
  
-On the next and final screen, you will find the options for Apache and PHP when it comes to modules, loaders, and the like. This screen only lists the most commonly selected options, and for a more complete list hit the //Exhaustive Options List// button. This will also take you to the list of PHP modules which cPanel's EA3 system supports.+On the next and final screen, you will find the options for Apache and PHP when it comes to modules, loaders, and the like. This screen only lists the most commonly selected options, and for a more complete list hit the //Exhaustive Options List// button. This will also take you to the list of all the Apache and PHP modules which cPanel's EA3 system supports.
  
 You will find the most common PHP modules here, however if you find that the one you are looking for is not supported, you may want to consider using a PEAR module, otherwise you can add custom compilation options according to cPanel's guide found [[http://www.cpanel.net/documentation/easyapache/ea3custom_flags.html|here]]. You will find the most common PHP modules here, however if you find that the one you are looking for is not supported, you may want to consider using a PEAR module, otherwise you can add custom compilation options according to cPanel's guide found [[http://www.cpanel.net/documentation/easyapache/ea3custom_flags.html|here]].