Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在灯堆栈环境中将 Debug 构建更改为 On?
正如我在评论中所说,您需要启用display_errors而不是Debug build。
display_errors
转到您的php.ini
php.ini
从终端:
sudo gedit /etc/php5/apache2/php.ini
搜索选项display_errors(不是已经注释的选项,意味着跳转到第二个搜索结果)
从关闭更改为开启
display_errors = On
也启用这些选项以及您将来可能需要的
display_startup_errors = On log_errors = On