I can’t get my setup to display PHP errors. The only thing I see is the WSOD.
I’ve updated my php.ini file:
(excerpt from phpinfo())
display_errors On On
display_startup_errors On On
error_reporting 30719 30719
Any ideas?
If you’re using the default installation of Apache in OSX you need to edit
/etc/php.inihowever if you’re using a MacPorts install you will need to edit/opt/local/etc/php5/php.iniYou state your
phpinfo()is showing that errors are enabled. If they are not displaying they must be being overridden.Places to check
httpd.conf,httpd-vhosts.conf, and other config files in/etc/apache2/extras(not sure on MacPorts paths) – Look forphp_valuelines..htaccessfiles – Again look forphp_valuelines..user.inifiles – PHP 5.3+ supports per directory configuration like Apache.error reporting with
ini_set.You can try enabling at a script level using the following: