#34679 [Fbk->Opn]: include not affected by open_basedir
| From: | blfijgnk at no-spam dot hu | Date: | Thu, 29 Sep 2005 10:27:12 +0000 |
| Subject: | #34679 [Fbk->Opn]: include not affected by open_basedir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85766@lists.php.net to get a copy of this message | ||
ID: 34679
User updated by: blfijgnk at no-spam dot hu
Reported By: blfijgnk at no-spam dot hu
-Status: Feedback
+Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: linux
PHP Version: 4.4.0
New Comment:
from phpinfo:
open_basedir /var/www /var/www
Previous Comments:
------------------------------------------------------------------------
[2005-09-29 12:23:53] tony2001@php.net
1) Check that you're editing the right php.ini
2) Check that open_basedir is really set (see phpinfo())
3) Restart your web-server.
------------------------------------------------------------------------
[2005-09-29 12:19:16] blfijgnk at no-spam dot hu
Description:
------------
include not affected by open_basedir
Reproduce code:
---------------
open_basedir = /var/www
<?php
include('/etc/passwd');
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34679&edit=1