PHP settings

From ISPWiki
Jump to: navigation, search

Module «PHP settings»
T-bullet.png View a list of modules
T-delete.png Restore default settings
T-edit.png Edit variable
T-on.png Make available to users This option is not available for Users
T-off.png Make unavailable to users This option is not available for Users
T-attr.png PHP configuration

View a list of modules

  • Module name - name of the PHP interpreter module.
  • Variable name - name of the PHP configuration variable that is implemented by that module.
  • Value for CGI/Apache - variable value in the php.ini configuration module or the default value.
  • Available to users:
P-onn.png - users can modify this value
P-off.png - users cannot modify this value

For more information refer to the article How the "PHP settings" module works when modifying parameters

The following colors can be used for PHP properties

  • Red - parameters are not defined in the configuration file and are received from the PHP interpreter.
  • Green - parameters are defined in the main or custom PHP configuration file (depending on access privileges).
  • Blue - values for such parameters are not defined.
  • Yellow - read-only values (for users).

Restore default settings

This function enables to delete the selected variable from the php.ini configuration file, so that the parameters specified in the corresponding module will be applied.

If this operation is performed with user privileges, the value specified in php.ini will be set as default.

Edit variable

Module«PHP settings»
  • Variable for Apache - specify the variable for configuring the PHP settings.
  • Variable for CGI - specify the variable for configuring the PHP settings.

Make available to users

If you want your users to configure parameters themselves, select a parameter from the list and click the "Show' icon.

This function is not available for ISPmanager users.

Make unavailable to users

To make a parameter inaccessible for users, select it from the list and click the "Hide" icon.

This function is not available for ISPmanager users.

PHP configuration

In this form you can set the default settings:

Module «PHP settings»
  • Time zone - enter the time zone.
  • Execution time - enter the maximum time limit for PHP scripts.
  • Request maximum size - enter the maximum size of post data allowed.
  • Maximum files size - provide the maximum size of an uploaded file.
  • Memory limit - provide the maximum amount of memory in bytes that a script is allowed to allocate.
  • register_globals - select the check box to register global variables.
  • display_errors - select the check box to enable PHP to send information about errors to the browser. For security reasons we recommend that you disable this option after debugging.
  • log_errors - select the check box to store PHP error messages in the log files. We would recommend that you use this option instead of display_errors after debugging. You can also disable this option to save the disk space.