Edit report at https://bugs.php.net/bug.php?id=80881&edit=1
ID: 80881
Comment by: rtrtrtrtrt at dfdfdfdf dot dfd
Reported by: simbiat at outlook dot com
Summary: open_basedir crashes Apache
Status: Open
Type: Bug
Package: Safe Mode/open_basedir
Operating System: Windows 10.0.19042.868]
PHP Version: 8.0.3
Block user comment: N
Private report: N
New Comment:
> With open_basedir set to c:\inetpub, the response
> time in postman for my home page is over 4 seconds
must be a problem with window and/or your scripts
DOMAIN: http://corecms
COUNT: 500
CMS UNCACHED: 700 us
CMS CACHED: 405 us
STATIC HTM: 259 us
STATIC PHP: 342 us
FACTOR CMS/STATIC HTM: 2.7
FACTOR CMS/STATIC PHP: 2
FACTOR CACHED/STATIC HTM: 1.6
FACTOR CACHED/STATIC PHP: 1.2
FACTOR STATIC PHP/STATIC: 1.3
RUNTIME: 1.541
Previous Comments:
------------------------------------------------------------------------
[2021-08-17 08:49:10] adam at thedudleys dot co dot uk
Found this on google search for
PHP Windows open_basedir slow
WOW. using this settings kills the performance of php.
info
Azure VM, Win server 2019 Data Centre edition
php-7.4.22-nts-Win32-vc15-x64.zip
IIS
With open_basedir set to c:\inetpub, the response time in postman for my home page is over 4
seconds.
comment out that one line in the php, iisreset
respons time is sub 600ms (not amazing, it's a slow/heavy site, but way better!)
Not using onedrive, that's crazy, why not script to copy to a different folder for that every
hour/change.
Anyway, thought I'd let you good peeps know.
------------------------------------------------------------------------
[2021-06-05 18:49:51] simbiat at outlook dot com
Looks like it can crash with commented out open_basedir. Replicable on 8.0.7: https://apaste.info/0cPr and may be related to https://bugs.php.net/bug.php?id=80726 since CLI can
also crash periodically on same machine.
------------------------------------------------------------------------
[2021-04-13 09:14:03] simbiat at outlook dot com
Nope, disabling AV did not help at all.
------------------------------------------------------------------------
[2021-04-13 09:02:27] simbiat at outlook dot com
Looks like something else has changed and now, when working in phpMyAdmin I am getting crashes even
if basedir is not restricted. And crashes are different, now referencing php8ts.dl: https://apaste.info/yelL
Not sure, but I think the only thing, that has changed on my PC since last time is... Perhaps AV
update? But definitely no new KBs were installed. I will check the behavior with AV disabled, but
not sure if it will provide anything.
------------------------------------------------------------------------
[2021-03-23 17:59:25] simbiat at outlook dot com
It is on my machine, it's just that I use OneDrive as backup as well and it's finicky with
symlinks. It's not a critical issue, that's for sure, at least, unless someone decided to
host actual PROD environment on OneDrive, which seems... Unadvisable. Still, if it will be fixed
someday, that would be great.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=80881
--
Edit this bug report at https://bugs.php.net/bug.php?id=80881&edit=1