Visser Labs

PHP open_basedir Error Updating WordPress Plugins

By Michael Visser.
WordPress Plugin Update error

WordPress Plugin Update error

I’ve been religiously using the recently introduced Plugin Update within WordPress to keep all my installed WordPress plugins up to date, a recent change in my server environment broke this and every time I attempted to update a plugin a stream of PHP would come up!

Below I provide my solution, a single line PHP snippet to be added to the wp-config.php file within WordPress’s root directory.

define('WP_TEMP_DIR','/tmp');

This PHP snippet may need to be adapted to the server configuration of your web host. Try it, it worked for me!

Social Bookmarks

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • LinkedIn
  • StumbleUpon
  • Technorati

About the article

This article was written on 2008-11-14 at 22:32:13+0000, filed under Internet and tagged , .

PHP open_basedir Error Updating WordPress Plugins is rated:
1 Star2 Stars3 Stars4 Stars5 Stars (1 ratings)
Loading ... Loading ...

About the author

Michael Visser is the founder of Visser Labs. He works as a professional Front-end Web Developer, loves Wordpress, Joomla and helping people get more out of their sites.

Suggest a future article or if you want to chat, get in touch today »


No Comments

There are currently no comments for this article.

RSS feed for comments on this page.

Sorry, the comment form is closed at this time.