RE: [PHP] Possible bug w/ open_basedir?

From: Date: Mon, 11 Aug 2003 10:23:06 +0000
Subject: RE: [PHP] Possible bug w/ open_basedir?
Groups: php.general 
Request: Send a blank email to php-general+get-159121@lists.php.net to get a copy of this message
On 09 August 2003 18:02, Dan Brown wrote: > There is no open_basedir restriction in my php.ini. > The only place > this restriction is set (with this path) in httpd.conf is in this > block: > > <Directory /home/e-smith/files/ibays/howtos/html> > AddType application/x-httpd-php .php .php3 .phtml > AddType application/x-httpd-php-source .phps > php_admin_value open_basedir /home/e-smith/files/ibays/howtos > </Directory> Is this also inside a Virtual Host? If so, you need to explicitly set open_basedir none in all other VHosts. Even if not, this problem may be related -- it may be worth trying the effect of explicitly setting open_basedir using php_admin_value for other directories, and especially your document root. The VHosts thing is not regarded as a PHP bug, but a configuration error. However, if you are only setting open_basedir on a per-directory basis, that does sound like a possible bug to me -- might be worth firing off a report at http://bugs.php.net if you can pin it down accurately. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#159121) next »