How to installing/updating WordPress using Subversion

The reason I use WordPress as my blog, is because it can auto update plugins, themes and even the WordPress core. In my last post, I have explain how to fix auto-update for themes and plugins. But it would not work on WordPress Core upgrade. The only way left is to use FTP to update the core. Since I hate using FTP, I have to find another solutions.

And here come Subversion to the rescue! With Subversion, I can update the WordPress core with just one line of code and even can schedule it every month. Or I can use Subversion to download and update WordPress experimental/bleeding edge/trunk version.
Continue reading “How to installing/updating WordPress using Subversion”

Advertisements

How to fix WordPress auto update on Nginx & PHP-FPM

What i like about WordPress is the ability to install and update directly from the dashboard without using other software like FTP. But sometimes the function would not work.

The problem? File ownership or permission. Here some tips on how to fix it.

1. Confirm the file belong to Nginx.

On Apache, all the file should be own by www-data user. On some distribution that come with Nginx, “nginx” is the user. So to make sure all our web data belong to Nginx, we need to do this command.

sudo chown -R nginx:nginx /var/www/*

The location varies on platform. For mine it’s on /var/www

Continue reading “How to fix WordPress auto update on Nginx & PHP-FPM”