PDA

View Full Version : error reporting in php.ini



Teri
09-17-2008, 10:58 AM
I have looked and looked for this answer to the point that eveything is getting blurry.

I DO NOT want php errors to appear on the web page. I have set my php.ini to not show them:
display_errors = off
display_startup_errors = Off

php.ini is in my public_html directory.

What am I doing wrong?

Presently I make a php call to Houston, tx and their servers (obviously) are out of service. They're coming back online in an off and on situation because of sporadic power. As a result, I'm getting errors that I obviously don't want seen when the page loads.

Teri
09-17-2008, 11:49 AM
ok I finally got it. DUH! I thought php.ini, if placed in your main directory, was supposed to affect ALL subdirectories, but it doesn't. As a result, you have to put the php.ini in all subdirectories too.

shadmego
09-17-2008, 01:10 PM
Or turn on FastCGI

~regards, and welcome to the community