Utilizing the file cache on PHP 7.2

<[email protected]> Thu, 31 May 2018 11:43:40 +0300
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
------=_NextPart_000_0006_01D3F8D4.9EC80460
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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


------=_NextPart_000_0006_01D3F8D4.9EC80460--