nginx,CentOS7のサーバを使っています。
PHPでエラーがでません。
php.iniの一部。
lang
1error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT 2 3; This directive controls whether or not and where PHP will output errors, 4; notices and warnings too. Error output is very useful during development, but 5; it could be very dangerous in production environments. Depending on the code 6; which is triggering the error, sensitive information could potentially leak 7; out of your application such as database usernames and passwords or worse. 8; It's recommended that errors be logged on production servers rather than 9; having the errors sent to STDOUT. 10; Possible Values: 11; Off = Do not display any errors 12; stderr = Display errors to STDERR (affects only CGI/CLI binaries!) 13; On or stdout = Display errors to STDOUT 14; Default Value: On 15; Development Value: On 16; Production Value: Off 17; http://php.net/display-errors 18display_errors = On 19 20; The display of errors which occur during PHP's startup sequence are handled 21; separately from display_errors. PHP's default behavior is to suppress those 22; errors from clients. Turning the display of startup errors on can be useful in 23; debugging configuration problems. But, it's strongly recommended that you 24; leave this setting off on production servers. 25; Default Value: Off 26; Development Value: On 27; Production Value: Off 28; http://php.net/display-startup-errors 29display_startup_errors = On 30 31; Besides displaying errors, PHP can also log errors to locations such as a 32; server-specific log, STDERR, or a location specified by the error_log 33; directive found below. While errors should not be displayed on productions 34; servers they should still be monitored and logging is a great way to do that. 35; Default Value: Off 36; Development Value: On 37; Production Value: On 38; http://php.net/log-errors 39log_errors = On
Onになっているので、
service nginx restart
をしたのですが、エラーは出ず。
またphpinfoもOffのまま。
どなたか原因解決お願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2014/10/17 10:42
2014/10/17 13:53