HostGator Web Hosting Help

PHP display_errors flag

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.

For more information about the different php environments, Click Here.



Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

If suddenly when you go to your page, you get nothing on the page. You can still get HTML to display, just not PHP. To serve HTML pages to browsers, we don't associate the Apache processes with your 2
Knowledgebase Article 183,632 views tags: blank page php

How to Set different character sets with PHP and HTML to display correctly.
Knowledgebase Article 207,664 views tags: arabic character chinese collation japanese language languages mysql php phpmyadmin sets

How to customize your html or php error pages.
Knowledgebase Article 157,685 views tags: errors php

Related Help Content

500 Internal Server Error when installing via the MOJO Marketplace installer.
Knowledgebase Article 271,328 views tags: cpanel errors htaccess panel php script simpel

This article will show a few MySQL errors along with explanations as to why they might be occurring.
Knowledgebase Article 123,562 views tags: errors mysql

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.
Knowledgebase Article 388,455 views tags: htaccess php

How do I redirect users to another page using PHP?
Knowledgebase Article 918,478 views tags: header location php redirect redirects

How do I view the php information page?
Knowledgebase Article 193,204 views tags: php phpinfo

In the newer versions of PHP, they have included a new directive to control and handle remote includes. We disable this option, by default, which may affect some of your PHP scripts.
Knowledgebase Article 172,858 views tags: include php remote url

How do I change the PHP environment for my site with php.ini?
Knowledgebase Article 796,334 views tags: configuration ini php server

Many popular website platforms use PHP for rendering their content. It’s common for these sites to have automatic update tools to ensure that they work with the latest version of PHP, however sometimes a theme or plugin for these services may prevent them from updating or may not work with a newer
Knowledgebase Article 141,016 views tags: deprecation discontinue end php upgrade