Bug #81042 [NEW]: open_basedir does not work as it should
From: bugs-php dot a2 at x25 dot pl
Operating system:
PHP version: 7.4.19
Package: *Directory/Filesystem functions
Bug Type: Bug
Bug description:open_basedir does not work as it should
Description:
------------
open_basedir does not work as it should:
Test script:
---------------
<?
ini_set("open_basedir","/home/naox/public_html/test");
is_dir("/home/naox/public_html/test");
Actual result:
--------------
Warning: is_dir(): open_basedir restriction in effect.
File(/home/naox/public_html/test) is not within the allowed path(s):
(/home/naox/public_html/test/) in /home/naox/public_html/a.php on line
3
--
Edit bug report at https://bugs.php.net/bug.php?id=81042&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81042&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81042&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81042&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81042&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81042&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81042&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81042&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81042&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81042&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81042&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81042&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81042&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81042&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81042&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81042&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81042&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81042&r=mysqlcfg
Thread (7 messages)
- bugs-php dot a2 at x25 dot pl