For cPanel & WHM 11.46
(Home >> Software and Services >> PHP Configuration)
If you encounter problems with the way that your server handles PHP packages, you may wish to view information about the PHP configuration. Use the PHP Configuration interface to display some of the most commonly referenced configuration options.
You cannot change your server's PHP configuration with the PHP Configuration interface. To change your server's PHP configuration, contact your web host.
The following table contains a brief description of each directive in the PHP Configuration interface.
|Specifies whether your server allows PHP code to include the |
|Specifies whether your server allows PHP scripts to receive files via HTTP.|
|Specifies a list of directories in which the |
|The number of seconds that your web server allows a PHP script to run before it terminates the script. This limit ensures that poorly written scripts will not slow down your server.|
|The number of seconds that your web server allows a PHP script to process information input to it, such as file uploads. This limit ensures that overloaded scripts will not slow down your server.|
|The maximum number of bytes of memory that a PHP script can use. This limit ensures that poorly written scripts will not occupy your server's memory. When this value is set to |
If a PHP script requires that you set this value to On, your site could become insecure.
This feature ensures that the user who runs the PHP script has permission to perform all of the tasks for which the script is written. For example, if the script is designed to change a file, the user will need the correct permissions to modify the file.
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
|The maximum number of bytes that an uploaded file can contain.|
When a visitor accesses your website, the web server issues a unique user ID. The web server uses the user ID to store information about the user's session, or time spent on your website. The
Select a PHP version
If your web host allows you to select the version of PHP that your website will use, select it in this interface.
To select a PHP version, perform the following steps:
- From the menu, select the version of PHP you wish to use. You may select System Default to use the version that your web host has chosen.
- Click Update to apply the selected version.