Page 1 of 1

[solved]How to turn off notice of PHP deprecation?

PostPosted: 30. September 2009 02:17
by healer
I was using xampplite 1.7.1 fine. Wanting to use the mail function Mercury I installed xampp 1.7.2. Having the later PHP I kept getting the notice of PHP deprecation. I wanted to turn it off. I opened up the php.ini in F:\xampp\php and found that error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED was already defined. Is my understanding correct that this statement meant reporting all errors except general notice and deprecation?

Re: How to turn off notice of PHP deprecation?

PostPosted: 30. September 2009 03:00
by Izzy
healer wrote:...I installed xampp 1.7.2. Having the later PHP I kept getting the notice of PHP deprecation. I wanted to turn it off. I opened up the php.ini in F:\xampp\php and found that error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED was already defined. Is my understanding correct that this statement meant reporting all errors except general notice and deprecation?
Yes it means exactly that.

So your script is overriding the php.ini setting and as such you should now contact the script's author and have them take a look at your problem.

Do an advanced forum search for deprecated in the XAMPP for Windows forum and use Wiedmann as the Author to narrow the search results, you may find a solution to hack your script.

Re: How to turn off notice of PHP deprecation?

PostPosted: 30. September 2009 13:05
by healer
Thanks I have searched and manually changed the error reporting on all the scripts and it works.