I recently migrated to PHP 5.3.2, and realized that I am unable to turn off notice errors in my site now. I went to php.ini, and in these lines:
...I've tried setting everything (and I restart apache each time), but I am unable to get rid of notices.
The only way I'm able to get rid of notice errors is by setting :
That is, of course, not something I can do since I need to see errors to fix them, and I would like to see errors on the webpage that I coding rather than log them somewhere.
Can someone help? Is this a bug in PHP 5.3.2 or something I am doing wrong?
Thank you very much for your time!
P. S. Also, how can I get PHP 5.3.2 to support the .php3 extension?
Code:
; Common Values: ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.) ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices) ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors) ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.) ; Default Value: E_ALL & ~E_NOTICE ; Development Value: E_ALL | E_STRICT ; Production Value: E_ALL & ~E_DEPRECATED ; http://php.net/error-reporting error_reporting = E_ALL & ~E_NOTICE
The only way I'm able to get rid of notice errors is by setting :
Code:
display_errors = Off
Can someone help? Is this a bug in PHP 5.3.2 or something I am doing wrong?
Thank you very much for your time!
P. S. Also, how can I get PHP 5.3.2 to support the .php3 extension?
Comment