本文最后更新于 1534 天前,其中的信息可能已经有所发展或是发生改变。
在php.ini文件里面添加
lirdisplay_errors = On
display_startup_errors = On
error_reporting = E_ALL
然后
systemctl restart nginx
systemctl restart php-fpm
这样网页端就会有php语法报错显示了
在php.ini文件里面添加
lirdisplay_errors = On
display_startup_errors = On
error_reporting = E_ALL
然后
systemctl restart nginx
systemctl restart php-fpm
这样网页端就会有php语法报错显示了