Jump to content

[SOLVED] Can't turn display_errors on in my php.ini file


guttyguppy

Recommended Posts

Well considering the manual says the default is 1, excuuuuse me.

Also, I use PHP5 and I set it to 1 or 0 and it always works to turn it on and off. Does it work if you use ini_set?

With the version of PHP you're using, perhaps you should try setting it to "stdout".

Funny, everywhere I look it seems like display_errors = Off/On is standard -e.g., http://articles.techrepublic.com.com/5100-22-5268948.html. What manual are you reading? It doesn't seem to matter-I tried 0/1 but it doesn't change it. Might it matter that I'm running os x.4 and using Textwrangler to edit the file?

The PHP Manual, smartass.

http://www.php.net/manual/en/ref.errorfunc.php

 

It says "1". Not "on".

Using ini_set('display_errors', 1); works on my PHP4 and 5 systems on Linux. I don't know if Mac's are different.

You didn't bother to answer my other questions, so I guess you didn't try either suggestion. Good luck.

 

darkfreaks, why would 2 mean off? That doesn't sound right at all...where do you see that? If anything, 1 means on and 0 means off.

 

Yeah all that is for turning on display_errors on a php file, not in the php.ini file which was my original question-the one located at /usr/local/php5/lib/php.ini

 

I was just wondering what manual you were reading said that you could set display_errors = 1  (or = anything not on.off for that matter) in your php.ini file and have that work, not trying to be a smartass.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.