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.
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).
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.
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: