Maison >développement back-end >tutoriel php >500内部服务器错误是

500内部服务器错误是

WBOY
WBOYoriginal
2016-08-08 09:06:592071parcourir

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

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

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

<code>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</code>

回复内容:

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

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

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

<code>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</code>

代码的问题,具体看log

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

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

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn