MultiPHP INI Editor for cPanel

Overview

This interface allows you to configure your PHP settings.

MultiPHP INI Editor

Select the location that you wish to configure from the menu. You can edit either the account’s home directory or the domain’s document root. The PHP directives will appear.

Basic Mode

The Basic Mode section of this interface loads 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 the php.ini file, the user.ini file, and your .htaccess file.

Editor Mode

Select the location that you wish to configure from the menu. You can edit either the user account’s home directory or the domain’s document root. The PHP directives will appear.

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. The system also saves these changes to your .htaccess file.

To ensure compatibility with the LSAPI module, the system also adds an LSAPI section to your .htaccess file. This section might resemble the following example:

1
2
3
4
5
<IfModule lsapi_module>
      php_value date.timezone "America/Chicago"
      php_value memory_limit 128M
      php_value upload_max_filesize 60M
</IfModule>

For example, the location of your file may be the /home/allthethings/public_html/php.ini file. The interface attempts a rudimentary validation of directive names. This does not guarantee that your PHP configuration will function. To reset your PHP settings to default values, delete the domain’s or home directory’s php.ini file.

For more information about a directive, search the php.net documentation.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Application Manager

Overview This interface allows you to deploy applications with the...

MultiPHP Manager for cPanel

Overview cPanel’s MultiPHP Manager interface allows you to easily manage your account’s...

Optimize Website

Overview This interface allows you to configure your server to automatically compress...

Perl Modules

Overview Perl modules are software components in the Perl language. This interface allows...

Site Software

Overview This interface allows you to add, manage, upgrade, and remove cPanel Addons...