我已经上传 WordPress 然后收到 500 - 内部服务器错误 [英] I have uploaded WordPress and then getting 500 - Internal server error

查看:44
本文介绍了我已经上传 WordPress 然后收到 500 - 内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的服务器上上传了 wordpress-4.1.1,我的域名是 http://www.daatcreations.com/ 但得到 500 - 内部服务器错误.

I have uploaded wordpress-4.1.1 on my server and my domain is http://www.daatcreations.com/ but getting 500 - Internal server error.

我不知道为什么会出现这个问题.我应该怎么做才能解决这个问题?

I don't know why this problem occurs. What should I do to resolve this problem?

推荐答案

网站向用户提供 500 错误的原因有很多,但最常见的有两种:

There are lots of reasons why your site might be serving a 500 Error to your users but two are most common:

权限错误.在大多数情况下,500 内部服务器错误是由于对一个或多个文件或文件夹的权限不正确造成的.在大多数情况下,对 PHP 和 CGI​​ 脚本的不正确权限是罪魁祸首.这些通常应设置为 0775 (-rwxr-xr-x).

A Permissions Error. In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0775 (-rwxr-xr-x).

PHP 超时.如果您的脚本连接到外部资源并且这些超时,则可能会发生 HTTP 500 错误.如果这是导致 500 错误的原因,则超时规则或脚本中更好的错误处理应该会有所帮助.

A PHP Timeout. If your script connects to external resources and those timeout, an HTTP 500 error can occur. Timeout rules, or better error handling in your script, should help if this is the cause of the 500 error.

.htaccess 中的编码错误.虽然不常见,但请务必检查您网站的 .htaccess 文件的结构是否正确.

A Coding Error in .htaccess. While not as common, be sure to check that your site's .htaccess file is properly structured.

这篇关于我已经上传 WordPress 然后收到 500 - 内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆