hach-que Posted September 25, 2006 Share Posted September 25, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/21913-php-errors-not-being-reported/ Share on other sites More sharing options...
wildteen88 Posted September 25, 2006 Share Posted September 25, 2006 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 fileAlso 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 Quote Link to comment https://forums.phpfreaks.com/topic/21913-php-errors-not-being-reported/#findComment-98068 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.