欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

500内部服务器错误是

程序员文章站 2022-05-29 17:03:52
...
Apache 的问题还是 php的问题 讲道理不会啊 用的xampp

讲道理我新建了一个项目 同样的TP版本就是正常运行的没报错的

老板发了一个让我改一改 显杰账单管理系统 thinkphp.rar 解压运行就这样了

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at postmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.21 Server at localhost Port 80

回复内容:

Apache 的问题还是 php的问题 讲道理不会啊 用的xampp

讲道理我新建了一个项目 同样的TP版本就是正常运行的没报错的

老板发了一个让我改一改 显杰账单管理系统 thinkphp.rar 解压运行就这样了

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at postmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.21 Server at localhost Port 80

代码的问题,具体看log

500是程序内部的错误,说明代码有问题

500 是代码错误。 楼主 如果是在linux环境下 可以检查有些文件 是要有写的权限

相关标签: php thinkphp