PHP display_errors flag

Problem:

How do I turn the display_errors flag on for php?

Solution:

To change the display_errors setting with php, locate and modify the line of the php.ini file where, "display_errors = On".

If you are using regular php, ensure you have a copy of the modified php.ini file in any directory where you are running php scripts. If you have single php or php with FastCGI, you will only need to modify the file located at public_html/php.ini.

  • 55 Users Found This Useful
Was this answer helpful?

Related Articles

Configuring the PHP Environment With php.ini

Problem: How do I change the PHP environment for my site with php.ini? Solution:   To...

PHP with FastCGI

Problem: What is FastCGI for PHP? Solution: FastCGI for PHP makes all your PHP applications...

Upload_Max_Filesize

Problem: How do I change my upload_max_filesize? Solution: Summary Locate the php.ini...

Cron Jobs with PHP Files

How do I run a php file using Cron jobs?   From the cPanel, click the Cron Jobs icon and enter...

Basic Site Security Checklist

Remove malicious files and/or files you are not familiar with. While many PHP applications...