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. :(

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
Or run from the terminal: httpd -S which will show you the configuration file for that domain, then grep -i "ErrorLog" that_file

  • found it under /etc/php.ini thats also the location that is phpinfo() is showing. pastebin.com/V2F6H0rL
    – antpaw
    Sep 9, 2010 at 8:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .