LoginSignup
10
8

More than 5 years have passed since last update.

docker logsでphpのログを出す

Last updated at Posted at 2017-11-13

すぐ忘れるのでメモ

php.ini
[global]
log_errors = On
error_reporting = E_ALL
error_log = "/proc/self/fd/2"

こんな感じにすればdocker logs [container name]で出せる

10
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
8