WordPress.org

Ready to get started?Download WordPress

Forums

WP Minify
Open_basedir restriction (1 post)

  1. AlphaK
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags