Category: Hostmonster

hostmonster/bluehost上安装网站显示ERR500错误

By admin, 2011年08月1日 2:51 下午

网友遇到的一个安装网站报500错误的问题,网站源码为Magento 。安装和错误细节:上传压缩包到bluehost帐户public_html目录后解压缩,访问http://www.yourdomain.com/install.php时提示ERR 500错误。
解决方法:

试访问:http://www.yourdomain.com/LICENSE.txt ,显示正常。
上传内容为< ?php phpinfo(); ? > 的测试文件info.php,用浏览器访问,显示正常。

检查目录和文件属性,发现均不正常。

目录见图1,图中目录的允许均为775,实际应为755,全部进行修改。

bluehost-magento-install-error-500 

文件见图2,图中文件的允许为664,正常应为644,全部修改后访问
:http://www.yourdomain.com/install.php 可以正常显示Magento的安装向导。

bluehost-magento-install-error-500

 find . -type d -exec chmod 777 {} \;
 find . -type f -exec chmod 644 {} \;

推测判断是安装包的解压缩过程或复制移动过程出的问题,因为不是由笔者操作,以前也没有遇到过同样问题,具体原因不得而知。
点这里查看Bluehost支持的环境和产品详情列表

Panorama Theme by Themocracy