Install and configure WordPress

Hey guys,

thank you for the guide, all worked well until I got this problem:
“You won’t be able to install new themes from here yet since your install requires SFTP credentials. For now, please add themes in the admin.”

After a few hours - yes really :hot_face: I found a solution on another forum, I thought I’d share it here

Open wp-config.php with your text editor of choice and add the following line to the end of the file:

define(‘FS_METHOD’,‘direct’);
?>
Save and reload apache

Now, I can install themes etc without being asked to put an FTP account info for AWS EC2

Cheers

Emanuel