php.ini 파일의 display_errors 화 opcache 옵션을 변경한다.
설정을 변경한 후에는 Apache Web Server를 Restart 해 줘야 변경사항을 적용된다.
상용버전에서는 Development 옵션은 지양한다.
; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but
; it could be very dangerous in production environments. Depending on the code
; which is triggering the error, sensitive information could potentially leak
; out of your application such as database usernames and passwords or worse.
; For production environments, we recommend logging errors rather than
; sending them to STDOUT.
; Possible Values:
; Off = Do not display any errors
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
; On or stdout = Display errors to STDOUT
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/display-errors
display_errors = On
zend_extension=php_opcache.dll
; Determines if Zend OPCache is enabled
; opcache.enable=1 -> 0 // 수정 즉시 반영되도록 설정
opcache.enable=0
댓글 없음:
댓글 쓰기