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 +Status: Not a bug Type: Bug Package: Filesystem function related Operating System: linux slackware PHP Version: 5.3.13 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2012-06-04 15:57:47] chersovani at gmail dot com I debugged this issue this is related to eaccelerator implementation Thanks ------------------------------------------------------------------------ [2012-06-04 15:08:38] larue...@php.net could you give us a complete reproduce script? ------------------------------------------------------------------------ [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