Logo Pupungbp.com

Need a WordPress expert help?

Make Your Server To Update WordPress Seamlessly

Last Updated: October 6, 2013 | Reading Time: < 1 minute

If you have issue doing “one click” WordPress upgrade on your server. This might be usefull for you:

First of all, include your username to “www-data” group.

[shell]# usermod -a -G www-data pupungbp[/shell]

then, change group ownership of your www files to www-data

[shell]# chgrp -R www-data /home/pupungbp/sites/[/shell]

add capability to group to have write access

[shell]# chmod -R g+w /home/pupungbp/sites/[/shell]

find and change directory permission to 775 (owner and group writeble)

[shell]# find /home/pupungbp/sites -type d -exec chmod 2775 {} \;[/shell]

give read and write access to user and group on files

[shell]# find /home/pupungbp/sites -type f -exec chmod ug+rw {} \;[/shell]

Last step, open up your wp-config.php and add this following code at the top of the file.

[shell]define(‘FS_METHOD’,’direct’);[/shell]

Lets try to upgrade your WordPress update or plugins. Cheers.

Looking for an affordable WordPress solution?

We offer budget-friendly WordPress website development services to meet your needs. Prices start at $10.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.