I have change display_errors = off
to display_errors = On
in php-fpm/php70.ini
and laravel.ini
, and restarted the nginx and php-fpm, but when I refresh the phpinfo page, it shows display_errors is still off.
So I can't display the php errors on the page. Could you tell me how to fix it, thanks.
I am using Mac.
And I found when I changed some configs in php70.ini
, something is working, something is not working.
For example, I changed the display_startup_errors
from Off
to On
, it worked and in phpinfo page it showed "On".
Hope somebody could tell me Why?