wrong open_basedir warning
[email protected] (Markus Falb)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
in my test.php I put
file_exists('/usr/share/wordpress/wp-config.php');
this throws an error
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
The configuration of my apache virtual host says
php_admin_value open_basedir '/var/www/blog:/usr/share/wordpress'
What is going on?
/usr/share/wordpress/wp-config.php is definitily within
/usr/share/wordpress, isnt it?
--
Markus Falb