i have hosted a wordpress 4.8.1 website on ec2's ubuntu 16.
i have tried to install plugins but it failed.
It pop-up a Connection Information dialog and ask me to fill in hostname and FTP acc/pw.
Do I really need to install the ftp service in order to install plugin of wordpress?
If not, what's wrong which caused the wordpress pop up this dialog?
I have tried to chmod the wp-content/plugins to 777 but still not working.
I have changed the owner to www-data (for nginx and php7-fpm) for web directory.
I have tried to add define('FS_METHOD', 'direct') in the wp-config.php, it stop asking for ftp information, but then it say Directory cannot be created.