ID:               23462
 Comment by:       admin at xpower dot net
 Reported By:      admin at xpower dot nwt
 Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: FreeBSD, Linux
 PHP Version:      4.3.2RC2
 New Comment:

Version  4.3.2
Bug under FreeBSD not resolved.


Previous Comments:
------------------------------------------------------------------------

[2003-05-14 11:02:23] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-05-08 04:34:27] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-05-03 05:42:09] admin at xpower dot nwt

For all older PHP version folowing work fine:

<Directory /home/www/fly/web/>
php_admin_value open_basedir /home/www/fly/web/
</Directory>

and all Virtual servers under /home/www/fly/web/ use this restriction
as I expect.

But after setup 4.3.2RC i see in error_log something like this:
[client XXX.XXX.XXX.XXX] PHP Warning:  Unknown(): open_basedir
restriction in effect.
File(/usr/home/www/kalimed/web/domain.com/public/wstats.php) is not
within the allowed path(s): (/home/www/fly/web/) in Unknown on line 0

 - the restriction for /home/www/fly/web/ used for
/home/www/kalimed/web/

If I move "php_admin_value open_basedir" into each virtual host section
- this solve the probem. But I think this is more usability to use one
<Directory> directive instead of putting config line for each virtual
host. Thanks. Sorry for terrible english :)

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23462&edit=1

Reply via email to