Bug #66048 [Opn]: temp. directory is cached during multiple requests
Edit report at https://bugs.php.net/bug.php?id=66048&edit=1
ID: 66048
User updated by: manuel-php at mausz dot at
Reported by: manuel-php at mausz dot at
Summary: temp. directory is cached during multiple requests
Status: Open
Type: Bug
Package: *Configuration Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Just for reference: https://github.com/php/php-src/pull/524 (still
open)
Previous Comments:
------------------------------------------------------------------------
[2013-11-07 15:51:36] manuel-php at mausz dot at
Description:
------------
PHP's temp. directory get cached during multiple requests because
php_shutdown_temporary_directory() is only called during module shutdown.
Should be during request shutdown.
Test script:
---------------
no script, but instructions:
- set up mod_php + two vhosts with different sys_temp_dir ini-setting
- only allow *1* worker (StartServers = MinSpareServers = MaxSpareServers = MaxClients = 1)
- turn keepalive off
- request sys_get_temp_dir() from both vhosts
-> temp dir will be the same
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66048&edit=1
Thread (8 messages)