Bug #80881 [NEW]: open_basedir crashes Apache

From: Date: Thu, 18 Mar 2021 11:16:59 +0000
Subject: Bug #80881 [NEW]: open_basedir crashes Apache
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232844@lists.php.net to get a copy of this message
From: simbiat at outlook dot com Operating system: Windows 10.0.19042.868] PHP version: 8.0.3 Package: Safe Mode/open_basedir Bug Type: Bug Bug description:open_basedir crashes Apache Description: ------------ It looks like after some update for Windows (KB5000802 and/or later one) if you set open_basedir it will slow PHP down and cause Apache to crash. More details including text of the dump can be found here https://www.apachelounge.com/viewtopic.php?p=39993 In summary: even on latest builds of Apache both PHP 7.4.16 and 8.0.3 crash if open_basedir is set. This is true both for mod_php and mod_fcgi (errors do differ a bit, of course). Once open_basedir is commented out the crashes stop and PHP seems to start working much faster, too. Considering that !analyze -v command indicates "virtual_realpath" component on the 2nd line of the stack and open_basedir is supposed to disable realpath cache, I presume, that there is an issue in how it is being disabled. Test script: --------------- Not applicable. Any script does this Expected result: ---------------- Apache does not crash Actual result: -------------- Apache restarts child process -- Edit bug report at https://bugs.php.net/bug.php?id=80881&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80881&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80881&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80881&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80881&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80881&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80881&r=support Expected behavior: https://bugs.php.net/fix.php?id=80881&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80881&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80881&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80881&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80881&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80881&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80881&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80881&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80881&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80881&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80881&r=mysqlcfg

« previous php.bugs (#232844) next »