LoginSignup
4
5

More than 5 years have passed since last update.

phpのエラーを /var/log/php_errors.log に出力する

Posted at
$ sudo vim /etc/php5/apache2/php.ini
error_log = /var/log/php_errors.log
$ sudo touch /var/log/php_errors.log
$ sudo chown www-data:www-data: /var/log/php_errors.log
$ sudo /etc/init.d/apache2 restart
4
5
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
4
5