LAMP显示PHP错误 [英] LAMP display php errors
本文介绍了LAMP显示PHP错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装了开发者的LAMP服务器,并就修改php.ini文件
I've installed developer's LAMP server and made changes on php.ini
的display_errors打开
display_startup_errors在
但它不显示任何错误或哪怕是一点点的警告,有什么问题,有什么不对?
but it doesn't display any errors or even a little warning, what's the problem, what's wrong?
推荐答案
请记住,大多数系统有两个php.ini的文件,一个Web服务器和一个命令行。做一个的phpinfo()
来看看你需要编辑其中之一。
Keep in mind that most systems have two php.ini files, one for the webserver and one for the command line. Do a phpinfo()
to see which one you need to edit.
这篇关于LAMP显示PHP错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文