open_basedir throwing error trying to access pear packages
| From: | l Burnerheimerton | Date: | Tue, 26 Dec 2006 11:44:09 +0000 |
| Subject: | open_basedir throwing error trying to access pear packages | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-26198@lists.php.net to get a copy of this message | ||
I just implemented open_basedir on a test site. It
throws an error:
Warning: main() [function.main]: open_basedir
restriction in effect. File(D:\files\php\pear/DB.php)
is not within the allowed path(s):: (D:/web
sites/testsite)
The entry in httpd.conf is:
<Directory "D:/web sites/testsite">
php_admin_value open_basedir "D:/web sites/testsite"
</Directory>
How do I user open_basedir and at the same time allow
it to use pear packages that are not in THAT web root?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com