TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.33k stars 721 forks source link

where are php_errors written? #178

Closed theking2 closed 1 month ago

theking2 commented 1 month ago

I do have trigger_error('', E_USER_ERROR); in my code but they don't end up in in /var/log.

TrafeX commented 1 month ago

Hi @theking2 ,

They are outputted to the logs of the Docker container which you can see with docker logs -f <container name>

theking2 commented 1 month ago

thanks