scox82@gmail.com
+39 333 8580702

Web Development

3
Mag

Test plugin wp2instagram

Prova plugin autopost

11
Lug

How to Stop WordPress Asking for FTP details to Upgrade Plugins

Find out what user is running the web server by typing:
ps aux | grep ‘apache’

The command will return something similar to this:
root@ubuntu-box:/# ps aux | grep ‘apache’
root 1933 0.0 2.3 44900 12032 ? Ss Aug25 15:09 /usr/sbin/apache2 -k start
webuser 2572 0.0 6.2 66468 30246 ? S Mar10 0:04 /usr/sbin/apache2 -k start
webuser 6045 0.0 6.4 66884 31562 ? S Mar10 0:07 /usr/sbin/apache2 -k start
webuser 6786 0.0 5.6 64156 27632 ? S Mar10 0:10 /usr/sbin/apache2 -k start
This tells you that the web server is running under the user webuser.

You can now give that user recursive ownership (all subfolders) of your WordPress installation using the command:
chown -hR webuser:webuser /var/mydomain.com/public_html/wordpress/

Replacing webuser with whatever user is running your Apache server and the last part with the direct path to your root WordPress installation folder.

 

 

 

via limecanvas