Edit report at https://bugs.php.net/bug.php?id=62223&edit=1
ID: 62223 Updated by: larue...@php.net Reported by: chersovani at gmail dot com Summary: require and open_basedir issue Status: Open Type: Bug Package: Filesystem function related Operating System: linux slackware PHP Version: 5.3.13 Block user comment: N Private report: N New Comment: could you give us a complete reproduce script? Previous Comments: ------------------------------------------------------------------------ [2012-06-04 14:53:50] chersovani at gmail dot com nope its a directory same configuration, same php scripts, same php.ini 5.3.10 works with no warnings 5.3.13 lots of open_basedir warnings must be changed something in the php open_basedir implementation ------------------------------------------------------------------------ [2012-06-04 13:19:13] ras...@php.net Is /var/www/demo.xxx.com a symlink to somewhere else? ------------------------------------------------------------------------ [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