MAMP - Unable to turn off PHP E_STRICT error reporting

Posted by Mark37 on Server Fault See other posts from Server Fault or by Mark37
Published on 2011-02-15T22:52:57Z Indexed on 2012/06/10 10:42 UTC
Read the original article Hit count: 240

Filed under:
|

For some reason, MAMP won't allow me to turn off E_STRICT warnings. I've tried everything from changing the value explicitly in php.ini to error_reporting(E_ALL & ~E_STRICT) in my file... to explicitly saying php_ini('error_reporting', E_ALL & ~E_STRICT). I'm entirely confused as to why this is happening, and from what I can tell its specific to MAMP.

The version of PHP I'm running is 5.2.13 - and before you start telling me I shouldn't be ignoring those warnings, lets just be clear that I am using a framework that requires that E_STRICT be ignored. (lame, I know.)

© Server Fault or respective owner

Related posts about php5

Related posts about mamp