WordPress在localhost上运行

时间:2017-05-30 09:51:20

标签: php wordpress

“发生意外错误.WordPress.org或此服务器的配置可能有问题。如果您仍有问题,请尝试支持论坛。” 试图在localhost上运行WordPress。 在尝试安装新插件时,WP会显示以上错误消息,并添加新主题。 试图

 1)Disabled all plugins and then reactivating them

 2)reinstalled WP

 3)define('WP_HTTP_BLOCK_EXTERNAL', true); in wp-config.php

 4)site URL is not left blank

 5)Validated that the filesystem allows WordPress to write to the WordPress directories.

debug.log

3 个答案:

答案 0 :(得分:0)

用于在localhost上安装Wordpress的PHP版本是什么? WordPress需要PHP 5.2.4+和MySQL 5.0+

答案 1 :(得分:0)

尝试将此添加到您的wp-config.php

define('FS_METHOD', 'direct');

答案 2 :(得分:0)

请参阅this链接以获取有关wordpress支持论坛的解决方案。解决此问题的方法很少。这取决于问题的原因。

相关问题