cPanel & WHM no longer develops or updates EasyApache 3. We deprecated EasyApache 3 on December 31, 2018. We removed support for EasyApache 3 in cPanel & WHM version 78.
PHP Home - EasyApache - cPanel Documentation

You can find our user documentation at

Check out our new API beta site!

Page tree
Skip to end of metadata
Go to start of metadata


Websites use the PHP scripting language for applications and content. You can easily install and modify PHP on your server with EasyApache. 

When you install cPanel & WHM, the installation process automatically installs PHP with some common PHP options. 

For more information about the PHP scripting language, read the PHP documentation. 

How Apache handles PHP

By default, cPanel & WHM configures your Apache web server with the suPHP handler to handle the requests that it receives for PHP content.


The PHP handler that you select affects the speed and security of your web server. For more information about PHP handlers, read our PHP Handlers documentation.

Featured documentation

  EasyApache 3


Change Log Release Notes  



Migrate from Tomcat 5.5 to 7

How to Deploy Java Applications


EasyApache 3 does not support new installations of Tomcat.

As of cPanel & WHM version 76, EasyApache 4 now supports Tomcat 8.5. For more information, read our Tomcat documentation.

PHP versions

When the PHP development team releases a new version of PHP, we test and make the new version available in EasyApache.

Minor version number changes do not impact functionality, but major updates may require changes to your configuration. In many cases, the EasyApache software makes the necessary adjustments automatically. If you customized your configuration, you may need to make manual adjustments. 


EasyApache supplies the latest versions of PHP 5.3, 5.4, 5.5, and 5.6. If you want to use a different version of PHP, you must either use a custom module or the PHP Selector feature of the CloudLinux™ operating system to install the version that you wish to use.

  • For more information about custom modules, read our Custom Modules documentation.
  • For more information about the CloudLinux operating system, visit the CloudLinux website.

How to change your PHP version

To change your server's PHP version, select a version of PHP in the PHP Version stage of the EasyApache 3 interface (Home >> Software >> EasyApache 3).

Modify PHP

You can modify your PHP configuration through several different methods. For more information, read the following documentation:

  • PHP Options — A list of the available options in EasyApache that directly modify PHP.
  • PHP Handlers — The PHP handler that you select determines how Apache handles requests for PHP content.
  • Raw Opts — Use raw opts to modify the configuration options for your PHP build. Raw opts are lines of data that advanced users can add to a specific file on the server in order to customize the configuration of Apache, ModSecurity, or PHP builds. EasyApache allows you to specify any configuration option that Apache, ModSecurity, or PHP supports.

PHP Security


We strongly recommend that you run EasyApache frequently if you configured your system with PHP. PHP updates occur as frequently as every other week. If your server does not have the latest version of PHP, it may be vulnerable.

For more information about PHP security, read the following documentation: