Doc #77406 [NEW]: document open_basedirs disabling effect on the realpath cache
From: wbob at buerotiger dot de
Operating system: Linux
PHP version: 7.3.0
Package: Safe Mode/open_basedir
Bug Type: Documentation Problem
Bug description:document open_basedirs disabling effect on the realpath cache
Description:
------------
if open_basedir is set, the realpath cache will be disabled.
See https://bugs.php.net/bug.php?id=52312#1279034613
and its follow-up
https://bugs.php.net/bug.php?id=53263
This is underdocumented. Beyond the source
(https://github.com/php/php-src/blob/PHP-7.3.0/main/main.c#L1800), one
can find it in the long comments to ini.core and in the realpath_cache_*
function comments. The configuration documentation should make the
information on the relation of open_basedir to the realpath cache easily
accessible.
The difference of a disabled realpatch cache can be significant enough
to discuss alternative means of isolation to open_basedir.
This patch adds two notes: one within the open_basedir option
description and one in the performance tuning section listing the
realpath_cache options.
--
Edit bug report at https://bugs.php.net/bug.php?id=77406&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77406&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77406&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77406&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77406&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77406&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77406&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77406&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77406&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77406&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77406&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77406&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77406&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77406&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77406&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77406&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77406&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77406&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77406&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77406&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77406&r=mysqlcfg
Thread (2 messages)
- wbob at buerotiger dot de