Skip to main content
Skip to main content

MultiPHP INI Editor

The MultiPHP INI editor writes to the .htaccess, .user.ini, and php.ini files. The system will only write a directive to a file if it is a valid directive for that file type. For more information, read our MultiPHP INI Editor documentation.

Configure PHP INI basic settings

Select the home directory or a domain’s document root to open the corresponding PHP configuration.
Path /home/example/public_html/test.com/php.ini
PHP Version inherit
Domain test.com.example.com
PHP Directive Information Setting
display_errors This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user.
Disabled
max_execution_time This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30.
Disabled
max_input_time This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads.
Disabled
max_input_vars This sets the maximum number of input variables allowed per request and can be used to deter denial of service attacks involving hash collisions on the input variable names.
Disabled
memory_limit This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1.
Disabled
post_max_size Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. Generally speaking, memory_limit should be larger than post_max_size.
Disabled
session.gc_maxlifetime This specifies the number of seconds after which data will be seen as "garbage" and potentially cleaned up.
Disabled
session.save_path session.save_path defines the argument which is passed to the save handler. If you choose the default files handler, this is the path where the files are created.
Disabled
upload_max_filesize The maximum size of an uploaded file.
Disabled
zlib.output_compression Whether to transparently compress pages. If this option is set to "On" in php.ini or the Apache configuration, pages are compressed if the browser sends an "Accept-Encoding: gzip" or "deflate" header.
Disabled

Edit PHP INI settings

Select the home directory or a domain’s document root to open the corresponding PHP configuration.
Path /home/example/php.ini
PHP Version ea-php73
Domain
; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
display_errors = Off
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 32M
post_max_size = 8M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php73"
upload_max_filesize = 2M
zlib.output_compression = Off
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX