Jump to content
Larry Ullman's Book Forums

Error Reporting Not Working

Recommended Posts

I am using: 5.4.9-4 ubuntu2.4 version of php. I have placed this code directly under the opening php tag:


ini_set('display_errors', 1);
error_reporting(E_ALL | E_STRICT);


But, I only get a blank screen when there is an error. Any idea what I am doing wrong?


Also - If you have any idea of how to globally change the setting in my php.ini file that would be great (can't find it in Appendix A of the book - I have opened the correct file in a text editor, but did not want to make any mistakes - FYI: "error reporting' in my phpinfo() file currently shows: 22527)




Link to comment
Share on other sites


  • Create New...