From:             nios at playxp dot com
Operating system: FC6_x86
PHP version:      6CVS-2007-04-11 (snap)
PHP Bug Type:     Apache2 related
Bug description:  open_basedir restriction issue

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 bug report at http://bugs.php.net/?id=41054&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41054&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41054&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41054&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41054&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41054&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41054&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41054&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41054&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41054&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41054&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41054&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41054&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41054&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41054&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41054&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41054&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41054&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41054&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41054&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41054&r=mysqlcfg

Reply via email to