How can we help?

Help via Chat 24h from monday to friday

PHP Configurations

At the Control Panel browse to to SettingsPHP Settings to configure the most important PHP configurations for your website. Please find below the details of each one.

Painel_01.png

When enabled it will show the actual application error on the browser. Useful when the app is still in the development stage.

This option will only be enabled if display_errors is enabled as well. It enables you to view errors during startup of your application.

What level of logging should be shown in the browser when something happens while compiling your php application. The Display Errors option should be enabled as well for this option to work.

It is important to make some remarks over the syntax:

  • | stands for OR, meaning the previous option OR the next option.
  • & stands for AND, meaning the previous option AND the next option.
  • ~ stands for NOT, meaning the previous option AND NOT the next option.

Among the options available in the Control Panel you will find:

  • E_ALL & ~E_DEPRECATED & ~E_STRICT - Enable all PHP errors and warnings EXCEPT notices of deprecation of functions AND NOT interoperability suggestions.
  • E_ALL | E_STRICT - Enable all PHP errors and warnings.
  • E_ERROR & ~E_ALL - Enable fatal run-time errors. Errors that cannot be recovered from. Execution of the script is halted AND NOT the rest of all PHP errors and warnings.
  • E_ALL & ~E_NOTICE - Enable all PHP errors and warnings EXCEPT Run-time notices.

For more information on how the error_reporting works in PHP, check out this tutorial, and this one, and also this one :)

Maximum time a php script can run.

The maximum time a post or get method can run.

Configures how many input variables will be accepted, mitigating denial of service attacks that use hash collisions. If there are more variables than specified, an E_WARNING is thrown, ignoring additional input variables.

Enables the use of short tags for php script identification. The enabled tag will be: "<?'.

Enables the capture of errors via environment variable: $php_errormsg.

Maximum size that can be trafficked by the POST method.

Maximum size of a file that will be accepted for upload.

Memory limit that each worker process can use.

Static is the mode where the server leaves the resources pre-allocated to meet the requests. Please read the following article for further information on this configuration.

Maximum number of open processes to be handled by this site.

Related Articles: