• Resolved stevewest15

    (@stevewest15)


    Hi,

    I have PHP open_basedir set to /var/www/vhost/mydomain.com/ but it seems like some files for WP Optimize are not calling the correct path resulting in the following PHP error:

    PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/httpdocs/wp-content/cache/wpo-cache/www.mydomain.com/index.php/index.html) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/:/tmp/) in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 470

    PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/httpdocs/wp-content/cache/wpo-cache/www.mydomain.com/index.php/index.html) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/:/tmp/) in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/wp-optimize/cache/file-based-page-cache-functions.php on line 500

    Any ideas what could be causing this issue and how to fix it?

    Thx,

    SW

Viewing 1 replies (of 1 total)
  • Hi Steve,

    Sorry for the delay in responding, we missed your post.
    I’m not familiar with open_basedir, will look into it.

    Marc.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP open-basedir Error’ is closed to new replies.