经常浏览我的网站我可以看到这个 php 警告:
Warning: is_readable(): open_basedir restriction in effect. File(/var/www/vhosts/<my site>/httpdocs/apps/frontend/modules/.sf/config/config_handlers.yml) is not within the allowed path(s): (/var/www/vhosts/<my site>/httpdocs/:/tmp/) in /var/www/vhosts/<my site>/httpdocs/lib/vendor/symfony/lib/config/sfConfigCache.class.php on line 305
真正的问题是谷歌正在用那个警告索引我的页面......
如标题中所述,我使用的是 Symfony 1.4.18。我该如何解决?
它是一个 Symfony 错误,还是一种我可以绕过的 PHP 限制?