#23594 [Opn->Ctl]: 19292 is back (open_basdir restriction)!
| From: | momo@php.net | Date: | Mon, 12 May 2003 16:42:33 +0000 |
| Subject: | #23594 [Opn->Ctl]: 19292 is back (open_basdir restriction)! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39493@lists.php.net to get a copy of this message | ||
ID: 23594
Updated by: momo@php.net
Reported By: momo@php.net
-Status: Open
+Status: Critical
Bug Type: CGI related
Operating System: RH9
PHP Version: 4CVS-2003-05-12 (stable)
Previous Comments:
------------------------------------------------------------------------
[2003-05-12 10:51:25] momo@php.net
first, coz the overload of 19292 i started new bug:
here the conf:
./configure --disable-cgi --disable-ctype \
--with-gd --with-zlib-dir=/usr/lib \
--enable-debug \
--with-apxs=/www/bin/apxs \
--with-wavsmpl
now:
------------------------------------
[root@moshe-lap php-dev]# php -a
Interactive mode enabled
<?
$p = fopen("/root/.bash_history","rb");
Warning: fopen(): open_basedir restriction in effect.
File(/root/.bash_history) is not within the allowed path(s):
(.:/usr/local/lib/php) in - on line 2
Warning: fopen(/root/.bash_history): failed to open stream: Operation
not permitted in - on line 2
$p = fopen("/tmp/g","rb");
-----------------------------------
the problem also affects CLI.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23594&edit=1