drewbee Posted February 15, 2008 Share Posted February 15, 2008 Hello everyone, I disabled the PHP error handling global PHP option. After turning it back on (recompiling apache) etc, my error messages will only show up if i explicitly set the erroring reporting in the page. Otherwise it seems like the setting isn't taking effect. Does anyone have any tips or areas I may have missed in the PHP config that I left the error reporting turned off elsewhere? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 15, 2008 Share Posted February 15, 2008 Make sure php is reading the php.ini you are editing by running the phpinfo() function. Also ensure that the line your are editing within the the php.ini does not start with a #. Lines that start with # are considered as comments. For errors to be reported during runtime error_reporting should be set to atleast E_ALL and display_errors should be set to on. Save the php.ini and restart Apache for changes to take affect Quote Link to comment Share on other sites More sharing options...
drewbee Posted February 15, 2008 Author Share Posted February 15, 2008 Gotcha: I will verify error_reporting = ^E_ALL and display_errors = on Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 15, 2008 Share Posted February 15, 2008 Unless you mistyped or something remove the ^ from infront of E_ALL. If you do that error reporting wont work. Quote Link to comment Share on other sites More sharing options...
drewbee Posted February 27, 2008 Author Share Posted February 27, 2008 Nope; Infact this is what caused my error; I assumed it was the same syntax as error_reporting(); Quote Link to comment 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.