+380 (44) 391 0955
Call me
support@tuthost.ua
24/7 email support
Live chat (10:00-19:00)
Chat

How do I enable error output on the site?

If you get “HTTP Error 500 (Internal Server Error)” then your site may be generating some sort of scripting error.

Since on our hosting, for security reasons, the output of errors is disabled – then the browser outputs exactly the 500th

To enable error output, use one or both of the following methods:

1. Write in the .htaccess file

php_flag display_startup_errors on
php_flag display_errors on

2. Write it at the beginning of your php-script:

error_reporting(E_ALL);
ini_set(‘display_errors’,true);

After you have corrected your errors, remember to delete or comment out these lines for security purposes.

HTTP 500 error (Internal Server Error)

 Mistakes, Problem Solving
Total 0 Votes:
0

Tell us how can we improve this post?

+ = Verify Human or Spambot ?