For cPanel & WHM version 68
(WHM >> Home >> Service Configuration >> PHP Configuration Editor)
This interface only exists on systems that run EasyApache 3. If your system runs EasyApache 4, use WHM's MultiPHP INI Editor interface (WHM >> Home >> Software >> MultiPHP INI Editor) instead.
This interface allows you to configure your PHP settings. PHP is a scripting language that generates web pages.
cPanel users can view information about the server's PHP configuration in cPanel’s PHP interface (cPanel >> Home >> Software >> PHP).
PHP Configuration Editor
Select a tab below to view more information about that section of the PHP Configuration Editor interface.
Make your changes to the following directives and click Save.
Select whether PHP scripts can use ASP-like tags in addition to PHP tags.
This includes variable-value printing shorthand (for example,
|Core||file_uploads||Select whether your PHP scripts can upload HTTP files.||On|
Enter the paths in which PHP functions search for files when a script calls certain functions.
Separate the directory paths with a colon (
Enter the maximum amount of memory that scripts can allocate, in bytes. This setting helps to prevent poorly-written scripts that may use too much memory.
Use the character
Enter the maximum file size for an upload, in bytes.
Use the character
|Options & Information||enable_dl|
Select whether scripts can call the
If you set this directive to On, it poses security risks to your server. We strongly recommend that you select Off unless the
|Options & Information||max_execution_time||Enter the maximum amount of time, in seconds, that your server allows a script to run before your server terminates it. This setting limits the amount of memory that poorly-written scripts may use.|
|Options & Information||max_input_time||Enter the maximum amount of time, in seconds, that your server allows a script to parse input data.|
|Options & Information||max_input_vars||Enter the maximum number of input variables per request. Use this directive to deter Denial of Service (DoS) attacks that use hash collisions on input variable names.|
|Session Handling||session.save_path||Enter the directory in which your server stores the files that PHP creates.|
Exercise extreme caution when you change any of these values; errors could result in non-functional PHP scripts. This section of the interface is for advanced users only.
The Advanced Mode section of this interface includes a large number of PHP directives. Make your changes to the desired directives and click Save.
For more information about a directive, search the php.net documentation.