Skip to content
Advertisement

Tag: error-logging

Apache / PHP error_log location in Docker

My PHP script has an error. For example, this shows this on the screen: Warning: require(/var/www/foo.php): failed to open stream: Where can I find this in the logs? I tried docker logs containerName, but it only shows access logs. E.g., 192.168.2.1 – – [17/Mar/2019:10:00:00 +0000] “GET / HTTP/1.1” 200 505 “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64)… It doesn’t show

Advertisement