4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ApacheとPHP-FPMのphp_value設定

Last updated at Posted at 2018-01-30

概要

.htaccessなどで、phpの設定を変更したりできますが、
php-fpmを使った場合、通常の書き方だとエラーになったのでメモしておく。

通常の書き方

.htaccess
# PHP5.6 (E_ALL(32767) - E_NOTICE(8))
php_value error_reporting = 32759

PHP-FPMの場合の書き方

.htaccess
  # Docker PHP-FPM5.6 (E_ALL(32767) - E_NOTICE(8))
  SetEnv PHP_VALUE "error_reporting = 32759"

参考サイト

4
4
2

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
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?