How do I turn the display_errors flag on for php?

Question
How do I turn the display_errors flag on for php?
Answer
The fastest way to do this is to create a custom php.ini file in your site's folder (typically public_html), and add
display_errors = On
The entire file should look something like
          [PHP]
          display_errors = On
when you are done. Of course, you can add more variables to this, if you like.
Still need help?
If you need further assistance than this entry provided, please, do open up a support ticket, we are here to help you out
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Why am I getting Server 500 errors with php scripts?

Question Why am I getting Server 500 errors with php scripts? Answer...

What version of PHP are you running?

Question What version of PHP are you running? Answer...

How do I redirect users to another page using PHP?

Question How do I redirect users to another page using PHP?...

How do I use PHP on your host?

Question How do I use PHP on your host? Answer...

Fatal error: Unable to read X bytes in /home/user/public_html/myfile.php on line Y

Question I get this with some of my php files: Fatal error: Unable to...

Powered by WHMCompleteSolution

Our official partners