Arez Posted August 9, 2007 Share Posted August 9, 2007 When I display my PHP Info, this is what it gives for error_reporting: error_reporting 2039 2039 I need it to be 2037 2037 though! Here is what it says in php.ini: ; Examples: ; ; - Show all errors, except for notices ; ;error_reporting = E_ALL & ~E_NOTICE ; ; - Show only errors ; ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors except for notices ; error_reporting = E_ALL & ~E_NOTICE How do I get this to change to 2037?! Quote Link to comment https://forums.phpfreaks.com/topic/64048-error-reporting-for-apache/ Share on other sites More sharing options...
wildteen88 Posted August 9, 2007 Share Posted August 9, 2007 set error_reporting to using a bitmask (a number code, eg 2037) instead of using named constants. Error reporting level can be set using numbers (kown as a bitmask) or with named constants Quote Link to comment https://forums.phpfreaks.com/topic/64048-error-reporting-for-apache/#findComment-319262 Share on other sites More sharing options...
Arez Posted August 9, 2007 Author Share Posted August 9, 2007 Didn't know you could input a # directly, nice! Quote Link to comment https://forums.phpfreaks.com/topic/64048-error-reporting-for-apache/#findComment-319613 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.