ID: 41054 User updated by: nios at playxp dot com Reported By: nios at playxp dot com -Status: Feedback +Status: Open Bug Type: Apache2 related Operating System: FC6_x86 PHP Version: 6CVS-2007-04-11 (snap) New Comment:
$ php -v PHP 6.0.0-dev (cli) (built: Apr 12 2007 01:29:48) (DEBUG) Copyright (c) 1997-2007 The PHP Group Zend Engine v3.0.0-dev, Copyright (c) 1998-2007 Zend Technologies $ ls php6*.tar.gz php6.0-200704111430.tar.gz Previous Comments: ------------------------------------------------------------------------ [2007-04-11 17:00:10] [EMAIL PROTECTED] What's the *real* PHP version you're using? ------------------------------------------------------------------------ [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): (��[�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): (�n�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): (��s��o�x�z�) 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