Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Normally I develop under E_ALL error level, but for sanity on this project I want notices and strict off. So initially tried:

error_reporting(E_ALL & ~(E_STRICT|E_NOTICE));

And several other combinations of the same thing, nothing worked.

Next I tried to create a local php.ini the directory with error_reporting = E_ALL & ~E_NOTICE but nope, that didn't work either. phpinfo() is reporting: Scan this dir for additional .ini files: (none)

Can someone help me fix either of these problems? Preferably both! Thanks!

I'm running PHP Version 5.2.13 on Apache/2.2.14 under Windows 7 x64.

share|improve this question

The usually location of php.ini is the same folder where you extract php files (c:\php). Read the php manual intstallation. Search all php.ini on server disk.

Anoher usefull read is this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.