Bug #66048 [Opn]: temp. directory is cached during multiple requests

From: Date: Mon, 30 Dec 2013 17:33:46 +0000
Subject: Bug #66048 [Opn]: temp. directory is cached during multiple requests
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183499@lists.php.net to get a copy of this message
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)

« previous php.bugs (#183499) next »