PHP open-basedir Error
-
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
- The topic ‘PHP open-basedir Error’ is closed to new replies.