If you are using the standard Apache installation on OSX you need to edit /etc/php.ini , however if you are using the MacPorts installation you will need to edit /opt/local/etc/php5/php.ini
You indicate that your phpinfo() indicates that errors are included. If they are not displayed, they must be redefined.
Places to check
httpd.conf , httpd-vhosts.conf and other configuration files in /etc/apache2/extras (not sure about MacPorts paths). Find the php_value lines..htaccess files - Find the php_value lines php_value ..user.ini files - PHP 5.3+ supports directory configuration such as Apache.- Your scripts yourself. They can implement their own error handlers that disable error messages using
ini_set .
You can try to enable at the script level using the following:
ini_set('error_reporting', -1); ini_set('display_errors', 1); ini_set('html_errors', 1); // I use this because I use xdebug. 0:: // My favourite kind of error.
source share