commander Posted February 18, 2014 Share Posted February 18, 2014 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) Thanks Link to comment Share on other sites More sharing options...
HartleySan Posted February 18, 2014 Share Posted February 18, 2014 To edit the properly in the file itself, just open the php.ini file, and then search for display_errors. Link to comment Share on other sites More sharing options...
commander Posted February 18, 2014 Author Share Posted February 18, 2014 Thanks so much! I am now seeing error messages (although I still don't know why that code snippet was not doing the same for the specific file) Link to comment Share on other sites More sharing options...
HartleySan Posted February 18, 2014 Share Posted February 18, 2014 Not sure either. Sorry. Link to comment Share on other sites More sharing options...
Recommended Posts