500异常,本人新手,安装了wamp,报错啊
程序员文章站
2022-04-03 16:59:25
...
500错误,本人新手,安装了wamp,报错啊。
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
http://localhost:8080/11in1/1.php
访问根下面的文件是可以的
http://localhost:8080/1.php
------解决方案--------------------
打开 php 的错误显示功能
------解决方案--------------------
搜索你安装的目录 php.ini
用记事本打开
查找 display_errors
修改成
display_errors =on
搜索
error_reporting = E_ALL & ~E_NOTICE
或者搜索:
error_reporting = E_ALL & ~E_DEPRECATED
修改为
error_reporting = E_ALL
保存,重启apache
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
http://localhost:8080/11in1/1.php
访问根下面的文件是可以的
http://localhost:8080/1.php
------解决方案--------------------
打开 php 的错误显示功能
------解决方案--------------------
搜索你安装的目录 php.ini
用记事本打开
查找 display_errors
修改成
display_errors =on
搜索
error_reporting = E_ALL & ~E_NOTICE
或者搜索:
error_reporting = E_ALL & ~E_DEPRECATED
修改为
error_reporting = E_ALL
保存,重启apache
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html
相关文章
相关视频
上一篇: PHP 语言急需避免的 10 大误区