Installing plugin for wordpress website hosted loc

2019-09-18 13:41发布

I am working on locally hosted wordpress installation.

When I am on windows the wordpress installation is all fine.

But whenever I move to ubuntu then my plugin installation asks for host name, ftp username and password.

It happened several times for me earlier too. Previously I went through some thread and got a solution to use localhost as host name and use my operating system username and password for ftp details. Which worked for me then.

But now it is not working for me.

And sometimes changing the file permission worked too. But again in my current case it is not working.

So, instead of trying random results, I think it will be better if I know the root cause of why this is happening and then the correct solution to troubleshoot it.

So, if any one can help me here. Thanks. enter image description here

标签: wordpress ftp
1条回答
一纸荒年 Trace。
2楼-- · 2019-09-18 14:29

open wp-config.php file and add this code :

/** Setup FTP Details **/ 
define('FS_METHOD', 'direct');
查看更多
登录 后发表回答