Re: wrong open_basedir warning
| From: | Markus Falb | Date: | Wed, 27 Mar 2013 18:43:55 +0000 |
| Subject: | Re: wrong open_basedir warning | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320703@lists.php.net to get a copy of this message | ||
On 27.3.2013 17:00, Markus Falb wrote:
> Warning: file_exists(): open_basedir restriction in effect.
> File(/usr/share/wordpress/wp-config.php) is not within the allowed
> path(s): (/var/www/blog:/usr/share/wordpress) in
> /var/www/blog/www/test.php on line 2
I found it out.
/usr/share/wordpress/wp-config.php
is a symlink to /etc/wordpress/wp-config and /etc/wordpress is outside
the open_basedirs.
--
Markus Falb