Bug #66048 [NEW]: temp. directory is cached during multiple requests
From: manuel-php at mausz dot at
Operating system:
PHP version: Irrelevant
Package: *Configuration Issues
Bug Type: Bug
Bug description:temp. directory is cached during multiple requests
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 bug report at https://bugs.php.net/bug.php?id=66048&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66048&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66048&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66048&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66048&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66048&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66048&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66048&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66048&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66048&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66048&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66048&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66048&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66048&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66048&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66048&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66048&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66048&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66048&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66048&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66048&r=mysqlcfg
Thread (8 messages)
- manuel-php at mausz dot at