For cPanel & WHM 11.46
(Home >> Service Configuration >> PHP Configuration Editor)
The PHP Configuration Basic Editor allows you to access and edit 11 basic options for your PHP configuration.
This table includes a brief description of each directive that is available in the PHP Configuration Basic Editor. After you make your changes, click Save.
|upload_max_filesize||Defines the maximum file size for an upload in bytes. Use the character ‘M’ to define the limit in Megabytes. (For example: 2M limits the file size to 2 Megabytes — the default setting.)|
|include_path||Lists a path or paths where your PHP functions will look for files when a script calls certain functions. You can separate the directory paths with a colon (:) in a *nix system or a semicolon (;) in the Windows® environment. (For example: |
|file_uploads||Describes whether HTTP file uploads are possible for your PHP scripts. Select Off to disallow file uploads or On to allow them. This directive defaults to On.|
|asp_tags||Allows PHP scripts to use ASP-like tags in addition to the usual tags. This includes the variable-value printing shorthand of <%= $value %>.|
|memory_limit||Limits the amount of memory that scripts can allocate, described in bytes. This aids in preventing poorly written scripts from using too much memory. Use the character ‘M’ to define the limit in Megabytes. (For example: 32M limits the allocation of memory to 32 Megabytes - the default setting.)|
This defines whether or not your server allows the following variables to be defined as global: Environment, GET, POST, Cookie, and Server. Global variables are accessible at every level of the application. Select Off or On. This directive defaults to Off.
This is a deprecated feature that, if you enable it, poses serious security risks for your server. We strongly recommend that you leave this directive set to Off.
|max_execution_time||Defines, in seconds, the maximum amount of time your server allows a script to run before your server terminates it. This feature prevents excessive CPU usage on your server by poorly written scripts. This directive defaults to 30.|
|max_input_time||Defines the maximum amount of time, in seconds, your server allows a script to parse input data. This directive defaults to 60.|
If you set this directive to On, it allows users to employ the
If you set this directive to On, it poses security risks to your server. We recommend that you turn it Off unless it is absolutely necessary that you enable it.
|safe_mode||This feature prevents the execution of a PHP script by a user that does not own the script. For example, if the user |
|session.save_path||Defines the path where your server stores files created by PHP. If you use the default handler, the default value is |