Reset cache for PHP 8.1 and above

This commit is contained in:
Shivam Mathur
2021-11-24 13:02:42 +00:00
committed by GitHub
parent 75fdf09203
commit 354b2b75c4

View File

@@ -94,6 +94,7 @@ data() {
else else
os="Windows" os="Windows"
dir='C:\\tools\\php\\ext' dir='C:\\tools\\php\\ext'
[[ "${version:?}" =~ 8.[1-2] ]] && date='20211124'
fi fi
key="$os"-ext-"$version"-$(echo -n "$extensions-$key" | openssl dgst -sha256 | cut -d ' ' -f 2) key="$os"-ext-"$version"-$(echo -n "$extensions-$key" | openssl dgst -sha256 | cut -d ' ' -f 2)
key="$key-$date" key="$key-$date"