Wordpress安装问题

时间:2014-02-09 18:28:55

标签: php wordpress

我已经安装了wordpress并将所有文件添加到我的Web服务器。当我尝试访问myWebsite / blog / wp-admin / instal.php时出现以下错误:

Warning: require(/customers/8/0/1/eitweb.co.uk/httpd.www/blog/wp-includes/functions.wp-
scripts.php): failed to open stream: No such file or directory in 
/customers/8/0/1/eitweb.co.uk/httpd.www/blog/wp-includes/script-loader.php on line 31 Fatal
 error: require(): Failed opening required '/customers/8/0/1/eitweb.co.uk/httpd.www/blog/wp-
includes/functions.wp-scripts.php' (include_path='.:/usr/share/php') in 
/customers/8/0/1/eitweb.co.uk/httpd.www/blog/wp-includes/script-loader.php on line 31

我想安装word press,我不知道怎么做。我之前看过一些类似问题的帖子,但没有解决这个问题。任何帮助将非常感激。

1 个答案:

答案 0 :(得分:0)

问题在于文件权限...为wordpress目录授予以下权限。

让您的网络服务器成为文件的所有者。实施例

chown -R www-data:wordpress /path/to/your/wordpress

...然后以root身份执行。

find /path/to/your/wordpress/install/ -type d -exec chmod 755 {} \;
find /path/to/your/wordpress/install/ -type f -exec chmod 644 {} \;