Perad Posted June 3, 2007 Share Posted June 3, 2007 How do i switch this on? On my online web server it tells me what is wrong. With my local web server it just laughs at me and displays an empty page. This is slowing development time greatly. What do I need to change to switch error checking on? Link to comment https://forums.phpfreaks.com/topic/54083-php-5-error-checking/ Share on other sites More sharing options...
wildteen88 Posted June 3, 2007 Share Posted June 3, 2007 Open up the php.ini and search for this line: ; server, your database schema or other information. After that it should state this line: display_errors = Off And change Off to On. Save the php.ini and restart Apache (or whatever your http server is). NOTE: Before saving make sure error_reporting is set to E_ALL (look at 349) Errors should now be shown when they happen. Link to comment https://forums.phpfreaks.com/topic/54083-php-5-error-checking/#findComment-267384 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.