»User: »Password:   Remember Me? 
>e-novative> Support and Discussion Forums / >e-novative> WAMP / Installation and Configuration / PHP strict errors
Posted:  08 May 2006 00:19   Last Edited By: fersman4
NEVERMIND! I FOUND THE ANSWER!

Hello,

I have the latest (as of today) verion of WAMP installed. In my www directory I have my personal PHP script which uses the magpie_rss PHP stuff. Well, the magpie folks didn't use strict keywords in their PHP scripts, so when I go to the page, WAMP gives errors like the following:

Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in c:\program files\e-novative\WAMP\www\magpierss\rss_parse.inc on line 35

A google search revealed that these would go away if I modified my C:/Program Files/e-novative/WAMP/php/php.ini file and changed the error_reporting line to look like the following:

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

This should turn off strict checking. I made sure the line read correctly as above, then saved the file, then I restarted WAMP. I still got the same problem. BTW, if anyone would like to test this problem, you can download the latest XOOPS, follow the directions for installing, and when going to the site to initially configure XOOPS, you will see a strict warning at the top.

I couldn't find any other locations for the php.ini file, so I'm assuming this is the right one.

Please help me figure out how to disable these PHP strict errors/warnings. Thanks,

Eric
Posted:  08 May 2006 00:30
I found the answer, and I feel pretty stupid, but oh-well. After 2 hours of web searching, I neglected to look at the e-novative FAQ. Three minutes after posting above, I found and read the FAQ. The FAQ says that the php.ini file is in the Windows directory. I made the change above to that file and the problems went away.