Question

Wordpress asking me to install plugin ftp access or upload an image

  • Posted June 12, 2014

I know you’ve seen this question everywhere, well I’m not a novice at this, the truth that I know a little more. But so far I could not make or upload images wordpress install plugin without requesting my credentials, either ftp or ssh. (Putting my credentials, if you can)

They have seen when a dropplet is created, there is an option that says “install wordpress on ubuntu 14.04”, I tried this option and going great, installs and upload images from the best. How could you apply this setting in my wordpress? Do not want as it is in fact not know that you can, but I just want to let me upload files without any problem.

Now tell me safe, it has to do with the keys, because when installing a wordpress dropplet installing automatic check on my panel and did not generate any type of key.

How I can do to upload files without ask me establish my credentials without keys in digital ocean?

I hope you can help They are infinitely grateful

Thanks

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @jhoedram! We wrote an article to address this issue. You can see instructions on how to set up your wordpress updates here: https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu

Use this code , wordpress asking for ftp details because wordpress doesn’t have permission to write in your server. use these two commands in terminal.

$sudo a2enmod rewrite $sudo chown -R www-data /var/www

video guide https://www.youtube.com/watch?v=RGGWVUIvhnk

This is user’s permission problem that will be solved by method given below that worked for me.

step-1 : First open wp-config.php file of your wordpress installation folder. step-2: Copy below code and paste it at the end of the wp-config.php file.

define('FS_METHOD','direct');

step-3: Now open your droplet access console and enter root as username and its password. step-4: Copy below code and paste it into access console where you have to specify your plugin directory path and then hit enter.

chmod 777 /yourwebsitename/public/wp-content/plugins/

Note: Replace your website name in the place of yourwebsitename. Thank you.