LoginSignup
2
2

More than 5 years have passed since last update.

php error log 出力先

Posted at
/etc/php5/apache2/php.ini
error_log = /var/log/php.log

を設定し、apacheの実行ユーザーにファイル権限を変更する

sudo touch /var/log/php.log
sudo chown www-data /var/log/php.log

apacheのrestart

sudo /etc/init.d/apache2 restart

2
2
1

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