Utilizing the file cache on PHP 7.2
| From: | momchil at bojinov dot info | Date: | Thu, 31 May 2018 08:43:40 +0000 |
| Subject: | Utilizing the file cache on PHP 7.2 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-31456@lists.php.net to get a copy of this message | ||
Hello,
I ran into a problem with the file cache with PHP 7.2.6
I used to be able to predict the cache path
.e.g
opcache.file_cache=F:\SVN\xxx\5.2\cache
opcache.file_cache_only=1
That would result in the actual BIN files being stored here:
F:\SVN\xxx\5.2\cache\cb30f97c420833336c52d76bb38c161\33f5bcdd9882d65bc27c038
df49ec706\
And with PHP 7.1 these would remain the same for every PHP sub version,
regardless of the server it runs on
Now with PHP 7.2 they will change if I run it on a different server
I have submitted a bug for exporting ZendAccelerator.c\accel_gen_system_id
but I don't see it happening any time soon
https://bugs.php.net/bug.php?id=74841
So I need another way to predict these sub dirs.
Please help
Momchil