lsmpascal
lsmpascal

Reputation: 780

MAMP : how to disable deprecated warnings

I'm trying to disable the deprecated warnings in MAMP. My MAMP php version is 5.5.18. The php.ini file is /Applications/MAMP/bin/php/php5.5.18/conf/ as I can see in the phpinfo(). My problem is that nothing changes whatever I do in the php.ini.

I tried

error_reporting  =  E_ALL ^ E_DEPRECATED

or even :

error_reporting  =  0

On the other hand

display_errors = Off 

but the warnings are still displayed in my pages.

What did I miss?

Thanks

Upvotes: 0

Views: 1887

Answers (1)

lsmpascal
lsmpascal

Reputation: 780

I just realized that I had a php rule crushing the php.ini ones in one of the scripts. So this question in no more relevant. I'm sorry for that.

Upvotes: 1

Related Questions