万网虚拟主机部署WordPress

2017-04-01  本文已影响42人  xiaobinZh

1. 代码FTP上传 htdoc;后运行 wordPress安装;

提示: 新上传的网站打开出现以下这种错误:

Internal Server Error

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

Please contact the server administrator, dxr@dxr.com 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.

1. 上网搜索了下,说是由于 虚拟主机 文件夹权限的问题导致的;

于是: 根据网络的提示设置: 吧文件夹的权限改为 755, 当个文件的权限改为666;

使用FTP工具可以批量修改

但是没有效果;

2. 怀疑是操作问题,于是根据阿里云写的步骤重试上次zip 测试

https://help.aliyun.com/knowledge_detail/36248.html?spm=5176.7836182.2.1.NeYrEw

虚拟主机WordPresss安装教程;

但是还是不行;

3. 分析主机的环境,发现主机默认的PHP版本是 5.2. 于是改为5.4,但是也没用

4. 分析主机PHP.ini 文件,发现有几个函数 chmod都被禁用了。于是把他们开启,结果,可以了。wordPress可以安装成功;

上一篇下一篇

猜你喜欢

热点阅读