Jump to content

Archived

This topic is now archived and is closed to further replies.

hach-que

PHP Errors not being reported

Recommended Posts

Whenever I create a script in PHP, and it doesn't work, PHP doesn't output any errors ANYWHERE (not to any log file or anything), all I get is a blank page.  How do I fix this problem? ( I have display_errors "on" )  [move]???[/move]

Share this post


Link to post
Share on other sites
Make sure you have error reporting set to E_ALL too. If you want your PHP to errors to be logged you'll have to turn on the log_errors directive and setup the error_log setting too to point to an error log file

Also amke sure you are eddting the correct php.ini to by running the phpinfo function in a script and checking that [b]Configuration File (php.ini) Path[/b] is set to the correct path of your php.ini. ALso make sure you are restarting the server too when you make the changes to php.ini

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.