Title: [Plugin: WP Minify] Open_basedir restriction
Last modified: August 20, 2016

---

# [Plugin: WP Minify] Open_basedir restriction

 *  [AlphaK](https://wordpress.org/support/users/alphak/)
 * (@alphak)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-minify-open_basedir-restriction/)
 * Hi
    My error.log is getting full of the following messages :
 * [13-Sep-2011 01:55:32] PHP Warning: is_file(): open_basedir restriction in effect.
   File(/tmp/minify_70964d65b6d603ad9e9e7a299e82a897.gz) is not within the allowed
   path(s): (/home/www/:/var/tmp/apache/) in /home/www/xxxxxx/wp-content/plugins/
   wp-minify/min/lib/Minify/Cache/File.php on line 71
    [13-Sep-2011 01:55:32] PHP
   Warning: is_file(): open_basedir restriction in effect. File(/tmp/minify_70964d65b6d603ad9e9e7a299e82a897)
   is not within the allowed path(s): (/home/www/:/var/tmp/apache/) in /home/www/
   xxxxxx/wp-content/plugins/wp-minify/min/lib/Minify/Cache/File.php on line 33
 * Actually I am using oben_basedir and my temporary directory (PHP upload_tmp_dir
   property) is /var/tmp/apache – So WP-minify shouldn’t fetch anything directly
   in /tmp.
 * It seems this path can be configured in min/config.php but the option screen 
   doesn’t allow it. It would be nice to add a fix either to guess this path automatically,
   either to allow the admin to configure it in the option screen.
 * Best regards
 * [http://wordpress.org/extend/plugins/wp-minify/](http://wordpress.org/extend/plugins/wp-minify/)

The topic ‘[Plugin: WP Minify] Open_basedir restriction’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-minify.svg)
 * [WP Minify](https://wordpress.org/plugins/wp-minify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-minify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-minify/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [AlphaK](https://wordpress.org/support/users/alphak/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-minify-open_basedir-restriction/)
 * Status: not resolved