OK so I set up php on Debian 7 following the Linux user guide which works perfectly except that no errors get written to the php error log. I have edited php.ini exactly as set out in the guide which is here:
https://library.linode.com/hosting-webs ... linode-1gband sets the following parameters:
max_execution_time = 30
memory_limit = 128M
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
display_errors = Off
log_errors = On
error_log = /var/log/php.log
register_globals = Off
I have restarted apache after entering these parameters. PHP works fine but I need to debug a script from the error log. There is no php.log file in the directory /var/log
As I have set up apache and php according to the guide, I'm surprised that the error log is not working. Any suggestions gratefully received.