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".

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.