#34656 [NoF->Opn]: open_basedir restriction in effect although paths are set correctly

From: Date: Tue, 01 Nov 2005 14:01:36 +0000
Subject: #34656 [NoF->Opn]: open_basedir restriction in effect although paths are set correctly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87337@lists.php.net to get a copy of this message
 ID:               34656
 User updated by:  wolfram at schlich dot org
 Reported By:      wolfram at schlich dot org
-Status:           No Feedback
+Status:           Open
 Bug Type:         Safe Mode/open_basedir
 Operating System: Linux 2.2.16 i586
-PHP Version:      4.4.0
+PHP Version:      4.4.1
 New Comment:

Just tried with the freshly released 4.4.1, without luck:
--8<--
Warning: fopen(): open_basedir restriction in effect.
File(/tmp/foo.bar) is not within the allowed path(s):
(/home/sites/site81/:/tmp/:/usr/share/pear/) in
/home/sites/site81/web/fopen.php on line 3

Warning: fopen(/tmp/foo.bar): failed to open stream: Operation not
permitted in /home/sites/site81/web/fopen.php on line 3
--8<--

--8<--[ access.conf ]--8<--
<DirectoryMatch "/home/sites/site81/">
php_admin_value open_basedir
/home/sites/site81/:/tmp/:/usr/share/pear/
</DirectoryMatch>
--8<--


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

[2005-10-05 01:00:09] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2005-09-27 19:53:27] sniper@php.net

Give feedback when you have some..

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

[2005-09-27 19:47:49] wolfram at schlich dot org

thanks! will do.

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

[2005-09-27 19:27:01] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Something related to open_basedir and the paths was just fixed. Give it
an hour or two.


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

[2005-09-27 19:24:09] wolfram at schlich dot org

sorry, I cannot use anything other than php4 on that machines.
they are used for webhosting, the customers depend on php4.
thanks.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/34656

-- 
Edit this bug report at http://bugs.php.net/?id=34656&edit=1


Thread (22 messages)

« previous php.bugs (#87337) next »