[php-src] Issue #13055: Ability to disable tmp caching of phar contents

From: Date: Sat, 30 Dec 2023 15:34:05 +0000
Subject: [php-src] Issue #13055: Ability to disable tmp caching of phar contents
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246157@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13055 Author: dktapps ### Description It's not clear to me what the point of caching phar contents is. In a world where opcache is used, it shouldn't be necessary to cache the phar contents anyway, except perhaps the occasional data file. In addition, since different threads / processes don't share phar caches, /tmp can get very crowded with lots of files caching near-identical data. I maintain a long-running application in which autoload time is not a concern, but the hogging of tmp space is a problem for my users. There doesn't seem to be a way to stop ext-phar from caching things read from phars.

« previous php.bugs (#246157) next »