#41054 [Opn->Fbk]: open_basedir restriction issue

From: Date: Wed, 11 Apr 2007 17:00:10 +0000
Subject: #41054 [Opn->Fbk]: open_basedir restriction issue
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111365@lists.php.net to get a copy of this message
ID: 41054 Updated by: tony2001@php.net Reported By: nios at playxp dot com -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: FC6_x86 PHP Version: 6CVS-2007-04-11 (snap) New Comment: What's the *real* PHP version you're using? Previous Comments: ------------------------------------------------------------------------ [2007-04-11 16:55:34] nios at playxp dot com Description: ------------ $ php -c /usr/local/lib -d include_path=/www/playxp/includes /www/playxp/htdocs/phpinfo.html ok but, running on apache2 ----------------------- Warning: Unknown: open_basedir restriction in effect. File(/www/playxp/htdocs/phpinfo.html) is not within the allowed path(s): (&#65533;&#65533;[&#65533;I) in Unknown on line 0 Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0 Fatal error: Unknown: Failed opening required '/www/playxp/htdocs/phpinfo.html' (include_path='.:/www/playxp/includes') in Unknown on line 0 when i click the "refresh" button, 1st error line is changed. Warning: Unknown: open_basedir restriction in effect. File(/www/playxp/htdocs/phpinfo.html) is not within the allowed path(s): (9) in Unknown on line 0 Warning: Unknown: open_basedir restriction in effect. File(/www/playxp/htdocs/phpinfo.html) is not within the allowed path(s): (es) in Unknown on line 0 Warning: Unknown: open_basedir restriction in effect. File(/www/playxp/htdocs/phpinfo.html) is not within the allowed path(s): (&#65533;n&#65533;fI) in Unknown on line 0 Warning: Unknown: open_basedir restriction in effect. File(/www/playxp/htdocs/phpinfo.html) is not within the allowed path(s): (&#65533;&#65533;s&#65533;&#65533;o&#65533;x&#65533;z&#65533;) in Unknown on line 0 Reproduce code: --------------- <?php require 'core.php'; echo "ok"; ?> Expected result: ---------------- just print-out "ok" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41054&edit=1

« previous php.bugs (#111365) next »