php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21320 open_basedir - not working
Submitted: 2003-01-01 13:33 UTC Modified: 2005-01-31 23:30 UTC
Votes:4
Avg. Score:4.5 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: picklezz at hotmail dot com Assigned:
Status: No Feedback Package: Safe Mode/open_basedir
PHP Version: 4.2.3 OS: FreeBSD 4.7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-01-01 13:33 UTC] picklezz at hotmail dot com
I got this configuration for one of my vhosts in apache 1.3.27:

<VirtualHost *>
    DocumentRoot /www/192.168.0.1
    ServerName 192.168.0.1
    ErrorLog /var/log/httpd/192.168.0.1-error_log
    CustomLog /var/log/httpd/192.168.0.1-access_log common
    php_value open_basedir /home/wwwroot/192.168.0.1/
</VirtualHost>
but when i go in on /home/wwwroot/192.168.0.1/index.php
with this script:
<?
include("/www/www.freshbsd.net/index.php");
?>

it will include the page anyway...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-02 14:07 UTC] iliaa@php.net
Please try using this CVS snapshot:

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

Are /www/www.freshbsd.net/ or /home/wwwroot/192.168.0.1/ symlinks?
 [2003-01-02 15:13 UTC] picklezz at hotmail dot com
Yes /www is a symblink to /home/wwwroot
 [2003-01-31 13:44 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 04:01:27 2019 UTC