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

 ID:                 53484
 Updated by:         [email protected]
 Reported by:        lampacz at gmail dot com
 Summary:            closing slash does not work
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            Safe Mode/open_basedir
 Operating System:   Linux Debian testing
 PHP Version:        5.3.3
 Block user comment: N
 Private report:     N

 New Comment:

Duplicate of #53352 (fixed in svn and last 5.3.4RC), also Debian has to
update their testing tree.


Previous Comments:
------------------------------------------------------------------------
[2010-12-06 12:48:11] lampacz at gmail dot com

Description:
------------
Using



php_admin_value open_basedir /var/www/domain.tld/:/usr/share/php/



Produces in error.log:



PHP Warning:  Unknown: open_basedir restriction in effect.
File(/var/www/domain.tld/home/film/xinfo.php) is not within the allowed
path(s): (/var/www/domain.tld/:/usr/share/php) in Unknown on line 0

PHP Warning:  Unknown: failed to open stream: Operation not permitted in
Unknown on line 0

PHP Fatal error:  Unknown: Failed opening required
'/var/www/domain.tld/home/film/xinfo.php'
(include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0



And no output in log



After rewrite



php_admin_value open_basedir /var/www/domain.tld:/usr/share/php # no
ending slash



everything start working



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



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

Reply via email to