WordPress的要求我的FTP凭据安装插件 [英] Wordpress asking for my FTP credentials to install plugins

查看:83
本文介绍了WordPress的要求我的FTP凭据安装插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在本地系统中安装了一个Wordpress博客。但是当我尝试从管理员添加插件时,它会要求FTP访问。我需要配置Wordpress才能够在没有FTP的情况下进行上传? 解决方案

尝试将代码添加到wp-config .php:

  define('FS_METHOD','direct'); 


I installed a Wordpress blog in my local system.But when I try to add plugins from admin it asks for FTP access. What do I need to configure for Wordpress to be able to upload without FTP?

解决方案

Try to add the code in wp-config.php:

define('FS_METHOD', 'direct');

这篇关于WordPress的要求我的FTP凭据安装插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆