When you want to modify PHP configuration settings in your hosting account. This article explains how to use the MultiPHP INI Editor in cPanel, including Basic Mode and Editor Mode for updating PHP directives.
This option is only available on systems that run EasyApache 4 and allows you to make configuration changes to your PHP settings. You can edit either the account’s home directory or the domain’s document root. The MultiPHP INI Editor has the following two modes:
A] Basic Mode:
In this mode, you can select the domain or the home directory and make configuration changes to the desired directive values which are loaded from the php.ini file. The system only writes a directive to a .htaccess or to an .ini file if it supports the directive.
1. Login to your cPanel >> Software >> MultiPHP INI Editor or search for MultiPHP in the cPanel search bar.

You can change the following PHP directive values:
|
PHP Directive
|
Information
|
cPanel default Setting
|
|
allow_url_fopen
|
This option enables the URL-aware fopen wrappers that enable accessing URL objects like files.
|
Disabled
|
|
allow_url_include
|
This option allows the use of URL-aware fopen wrappers with the following functions: include(), include_once(), require(), require_once().
|
Disabled
|
|
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
|
|
enable_dl
|
You can turn dynamic loading of PHP extensions with dl() on and off per virtual server or per directory.
|
Disabled
|
|
file_uploads
|
Whether or not to allow HTTP file uploads.
|
Enabled
|
|
max_execution_time
|
This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser.
|
30
|
|
max_input_time
|
This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads.
|
60
|
|
max_input_vars
|
This sets the maximum number of input variables allowed per request.
|
1000
|
|
memory_limit
|
This sets the maximum amount of memory in bytes that a script is allowed to allocate.
|
Can be adjusted at the time of install based on system memory
|
|
post_max_size
|
Sets max size of post data allowed.
|
8M
|
|
session.gc_maxlifetime
|
This specifies the number of seconds after which data will be seen as "garbage" and potentially cleaned up.
|
Can be adjusted
|
|
session.save_path
|
It defines the argument which is passed to the save handler.
|
NULL
|
|
upload_max_filesize
|
The maximum size of an uploaded file.
|
2M
|
|
zlib.output_compression
|
Whether to transparently compress pages.
|
Disabled
|
Example:

B] Editor Mode:
This mode shows the contents of the php.ini file for the selected domain or the home directory if the php.ini file exists. If the file is not present, you can create your own file through the blank editor interface and click Save.
The system saves changes to both the php.ini file in the Path section of the interface and the .user.ini file. The system also saves these changes to your .htaccess file.
Example:
