How to enable error_reporting

You can modify different php settings for your account, using php.ini file. We recommend using our default php.ini file that is the most compatible with our servers and created specially to optimize the process of php values modification.  You can learn how to find and edit php.ini on our shared and business servers here:

1. How to edit php.ini file on shared servers with SuPHP module  

2.   How to edit php.ini on business servers with FastSGI module

To enable/disable PHP error_reporting() one should change  required value: from On to Off, or Off to On in the following section:

 

 

By the means of the error_reporting() function you can specify which errors are reported.

 

If your account is hosted on a shared server, the suPHP configuration directive should be added to your .htaccess file to make these settings global for the entire account. You can find step-by-step instruction here.

If your account is located on a business server, no other modifications should be applied.

  • 3 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

How to check PHP version and configuration

Phpinfo() function is commonly used to check the current state of PHP configuration. It can also...

How to use PHP Selector

In some cases correct functioning of your website depends on PHP version installed on the...

How to switch PHP version on shared servers

Our shared servers are set up to allow each customer to choose the PHP version to use for the...

SuPHP directive for php.ini on shared servers

SuPHP (Single user PHP) is a php handler, which executes PHP scripts with the permissions of...

How to switch PHP version on business servers

Our business servers are running with FSGI module and have PHP 5.2, 5.3, 5.4, 5.5 versions...

Powered by WHMCompleteSolution