I am running nginx with php5-fpm and want to enable the display_errors
.
I am running a virtual host, so please help in making a way to enable display_errors
, display_startup_errors
.
I tried modifying /etc/php5/fpm/php.ini
.
;display_errors
Default Value: On
Development Value: On
;Production Value: Off
;display_startup_errors
Default Value: On
Development Value: On
;Production Value: Off
;error_reporting
Default Value: E_ALL
Development Value: E_ALL
;Production Value: E_ALL & ~E_DEPRECATED
;html_errors
Default Value: On
Development Value: On
;Production value: Off
;log_errors
Default Value: On
Development Value: On
;Production Value: On
Is it require to have multiple ini
files for each different virtual host, does vhost makes any difference for php configuration ?
I am also trying set_ini()
, but it is not showing any effect. And I restarted nginx and php5-fpm after making changes in php.ini
file.