Web Hosting Talk







View Full Version : Mac OSX php - error_reporting(E_ALL)


nnormal
11-16-2005, 11:38 AM
I'm using the entropy (http://www.entropy.ch/software/macosx/php/) php package for OSX and no matter what I set error reporting to it never returns debug info like the windows and unix installs that I work with. Is there something in the ini which needs to change for this to work? I thought error_reporting() replaced the ini setting?

funkytaco
11-16-2005, 02:27 PM
What is the output of phpinfo() with error reporting on and off?

Burhan
11-16-2005, 03:51 PM
Check display_errors in php.ini

funkytaco
11-16-2005, 09:25 PM
I checked on my Powerbook, and it doesn't report errors on mine , either. I believed I used the entropy package as well to install PHP. I had to tail my logs to see errors:

tail -f /private/var/log/httpd/error_log|grep -v .ico

I can try looking at this later when I have time.