ID:               41054
 User updated by:  nios at playxp dot com
 Reported By:      nios at playxp dot com
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: FC6_x86
 PHP Version:      6CVS-2007-04-11 (snap)
 New Comment:

<VirtualHost *:80>
    ServerName XXXXXXXXXXX

    DocumentRoot /www/playxp/htdocs

    ErrorLog  /www/playxp/logs/error_log
    CustomLog /www/playxp/logs/access_log combined

    php_admin_value open_basedir /www/playxp:/tmp
    php_admin_value include_path .:/www/playxp/includes

    <Directory "/www/playxp">
        allow from all
    </Directory>
</VirtualHost>


Previous Comments:
------------------------------------------------------------------------

[2007-04-12 00:49:57] nios at playxp dot com

$ 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

------------------------------------------------------------------------

[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):
(&#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

Reply via email to