I checked which php.ini
is used with phpinfo()
, so I'm editing the right php config file.
In that php.ini
file (and in phpinfo()
details) I have display_errors
at On
and error_reporting
at E_ALL
.
BUT when I have a PHP error, most of the time I find no log (in the file specified by error_log
, nor in the file specified in apache vhost, nor in /var/syslog
), and only a blank page displayed.
I also tried to use the ini_set("display_errors", 1)
but that didn't change anything.
One thing was weird, I had no php5
folder in /var/log
(I created it, and configured error_log
to use it).
Any idea would be much appreciated, that's not so great to code without knowing anything about the errors you have !
P.S. I'm using PHP 5.4 & Symfony2 (using the app_dev.php
file), on Debian Wheezy.
Edit : Error logs now work thanks to @martinezjc , but still having a blank page in Apache.