Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.