When I try to Instal a new plugin in WP I get asked to enter my FTP details to my webserver. Why does CP do this, instead of installing a plugin the normal way?
Anyway, I enter the right FTP details (I first test it with an FTP program and it connects,) but the connection does not work in WP when I enter the FTP details.
I think the same problem is also what is preventing me from being able to upload files/folders via file manager. I am also not able to upload files via FTP, even though I can connect.
Please note: this is not a post_max_file_size issue. I have a sufficient max size limit. Even a 1kb file does not upload.
My CP version is: 2.1. build is 2.
Is there anyone who can point me to a solution, please?
The FTP issue in WordPress is a result of insufficient permissions by WP core to upload plugins
Solution:
Fix permissions by Going to https://SERVER_URL:8090/filemanager/mywordpress.com and click on Fix Permissions
Workaround: force direct filesystem method by adding the following directive in wp-config.php so that wp core doesnt use ftp but downloads updates + plugins directly
define('FS_METHOD','direct');
Workaround: Add ftp credentials fromhttps://SERVER_URL:8090/ftp/createFTPAccount to your WP config by adding the following directives: