wrong open_basedir warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux