Use the MultiPHP INI Editor interface to configure your PHP settings.
(Home >> Software >> MultiPHP INI Editor)
This interface allows you to configure your PHP settings.
Select the location that you wish to configure from the menu. You can edit either the home directory of the user account or the domain's document root. The PHP directives will appear.
The Basic Mode section of this interface loads the following directive values from the
php.ini file for your selected domain or home directory. Make your changes to the desired directives and click Apply. The system saves changes to both the
php.ini file and the
user.ini file and your
.htaccessfile if that file supports the directive. Your
.htaccessfiles may not be identical.
The interface's default values are the same as those on the php.net website.
The Editor Mode section of this interface loads the contents of the
php.ini file for your selected domain, if it exists. If the
php.ini file does not
exist, the interface loads a blank editor so that you can create your
own file. Make your changes to the desired directives 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. Changes also save to your
.htaccess file. For example, the location of your file may be
/home/allthethings/public_html/php.ini. The interface attempts a rudimentary validation of directive names. This does not guarantee that your PHP will function. To reset your PHP settings to the default, delete the domain's or home directory's
Important: If you use the DSO PHP handler, the system will not read your configuration changes if you change your PHP version to a different major PHP version. For example, if you change your PHP version from PHP 5 to PHP 7.
To correct this issue, you must edit and save your PHP configuration again in the interface. The system will then load the
.htaccess directives correctly.