Bug #62223 [Opn->Fbk]: require and open_basedir issue
| From: | rasmus@php.net | Date: | Mon, 04 Jun 2012 13:19:13 +0000 |
| Subject: | Bug #62223 [Opn->Fbk]: require and open_basedir issue | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171022@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62223&edit=1
ID: 62223
Updated by: rasmus@php.net
Reported by: chersovani at gmail dot com
Summary: require and open_basedir issue
-Status: Open
+Status: Feedback
Type: Bug
Package: Filesystem function related
Operating System: linux slackware
PHP Version: 5.3.13
Block user comment: N
Private report: N
New Comment:
Is /var/www/demo.xxx.com a symlink to somewhere else?
Previous Comments:
------------------------------------------------------------------------
[2012-06-04 10:59:15] chersovani at gmail dot com
Description:
------------
it seems that the require statement does not correctly evaluate the allowed path
This issue is not present on php 5.3.10
Warning: require(): open_basedir restriction in effect. File() is not within the allowed path(s):
(/var/www/demo.xxx.com/) in /var/www/demo.xxx.com/lib/class/PHPTAL.php on line 1205
/var/www/demo.xxx.com/tmp/tpl_4fbe4fdc_search_m_KDNhel2T27LSiZgngKNA.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62223&edit=1