A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Unable to update / upgrade anything in WordPress using Auto-Update

You are unable to upgrade automatically your WordPress installation. You are also not able to update your plugins. You have also tried everything to make your connection settings correct and it still does not work.

The reason: Your PHP scripts does not have the permission to write.

The solution: Install suPHP

$ apt-get install libapache2-mod-suphp

Add this in your Apache conf:

suPHP_Engine on

Then:

$ a2dismod php5
$ /etc/init.d/apache2 restart

CHOWN and CHGRP your home directory

$ chmod -R wenbert /home/wenbert
$ chgrp -R wenbert /home/wenbert

Resources: http://www.suphp.org/DocumentationView.html?file=apache/INSTALL

FYI: I am on Ubuntu.

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>