WordPress需要FTP信息 在wp-config.php中添加以下代码: define('FS_METHOD', "direct"); 然后切换到wp-content目录下,新建目录upgrade,把themes、upgrade、plugins目录属性都设置为777。