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.

I can't get PHP syntax errors to get displayed on Snow Leopard build in PHP module (5.3.2).

Every other error does show up. I've checked phpinfo() and I definitely have display_errors = On and error_reporting = E_ALL | E_STRICT.

It's really weird. :(

share|improve this question

1 Answer 1

Paste your full /etc/php.ini and we might be able to diagnose the problem, but until then you will be able to view the errors in the Apache log files. Not sure where they are on macosx, but here are some typical locations:
/var/www/vhosts/domain.com/statistics/logs/error_log on Plesk servers
/var/log/httpd/error_log
/home/yourname/logs/error_log
Or run from the terminal: httpd -S which will show you the configuration file for that domain, then grep -i "ErrorLog" that_file

share|improve this answer
    
found it under /etc/php.ini thats also the location that is phpinfo() is showing. pastebin.com/V2F6H0rL –  antpaw Sep 9 '10 at 8:12

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.