LoginSignup
1
1

More than 5 years have passed since last update.

phpでerror_log出力したときにしたこと

Posted at

cd /etc/httpd/conf.d/

ここに設定ファイルを作成
touch test.conf

作成したファイルに以下を記述
php_value error_log "/出力したいログファイルの絶対パス"

アパッチ再起動
/etc/rc.d/init.d/httpd restart

1
1
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
1
1