PHP open_basedir Error Updating WordPress Plugins

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!







No Comments »
There are currently no comments for this article.
Leave a comment
The perfect comment is interesting, on-topic and/or highly amusing.