Hello,
I have installed the latest PHP 4 (downloaded from entropy.ch) on my OS X machine and I would like to enable error reporting but don't seem to be able to...
PHP works.
I have tried putting the following in my script (I copied it from the PHP manual):
// Report all PHP errors (bitwise 63 may be used in PHP 3)
error_reporting(E_ALL);
// Same as error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
so I thought something in the PHP configuration was preventing me to show errors. I went and looked in the etc/php.ini.default file and the line is set to:
error_reporting = E_ALL & ~E_NOTICE
I thought this all is set correctly but if I do for example an include of a file that doesn't exist, I don't get any errors... shouldn't my script break and say something?
Thanks