Wordpress Plugin Installation - Failed to connect to FTP Server - Safest Solution?

后端 未结 7 2026
别那么骄傲
别那么骄傲 2021-02-02 12:23

I succesfully set up a VPS LEMP-stack with Wordpress. When I am trying to install plugins from the WP backend, I am prompted with the following message:

To perfo         


        
7条回答
  •  盖世英雄少女心
    2021-02-02 12:56

    I don't know if it is the safest method or not. But pasting this code in wp-config.php once solved my problem:

    define('FS_METHOD', 'direct');
    

提交回复
热议问题