Using php5.6 (legacy codebase), apache, ubuntu16.
phpinfo()
says that:
log_errors
is on
error_log
= /var/log/apache2/php_errors.log
When display_errors
is on there is output.
But /var/log/apache2/
does not contain a php_errors.log
file.
Have restarted apache (/etc/init.d/apache2 restart
).
log_errors_max_len
is 1024
.
ls -ld /var/log/apache2
drwxr-x--- 2 root adm 4096 Mar 30 18:47 apache2
ls -l /var/log/apache2
-rw-r----- 1 root adm 0 Mar 30 06:25 access.log
-rw-r----- 1 root adm 5967 Mar 30 01:47 access.log.1
-rw-r----- 1 root adm 11618 Mar 31 04:07 error.log
-rw-r----- 1 root adm 11742 Mar 30 06:25 error.log.1
What am I missing?