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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby healer » 30. September 2009 02:17

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?
healer
 
Posts: 7
Joined: 26. December 2005 11:58

Re: How to turn off notice of PHP deprecation?

Postby Izzy » 30. September 2009 03:00

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.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: How to turn off notice of PHP deprecation?

Postby healer » 30. September 2009 13:05

Thanks I have searched and manually changed the error reporting on all the scripts and it works.
healer
 
Posts: 7
Joined: 26. December 2005 11:58


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 94 guests