Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.