1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 08:32:42 +00:00

Add support for phalcon (#994)

This commit is contained in:
Michele Locati 2024-10-15 15:57:07 +02:00 committed by GitHub
parent c2455d781a
commit 63db434312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View file

@ -597,6 +597,10 @@ sortModulesToInstall() {
checkRequiredModule relay igbinary
# pq requires raphf
checkRequiredModule pq raphf
# phalcon up to v5.0.0beta3 requires psr
if test $PHP_MAJMINPAT_VERSION -lt 70401; then
checkRequiredModule phalcon psr
fi
# Some module installation may use sockets if available: move it before other modules
if stringInList 'sockets' "$PHP_MODULES_TO_INSTALL"; then
PHP_MODULES_TO_INSTALL="$(removeStringFromList 'sockets' "$PHP_MODULES_TO_INSTALL")"
@ -3644,6 +3648,15 @@ installRemoteModule() {
fi
fi
;;
phalcon)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMINPAT_VERSION -lt 70401; then
installRemoteModule_version=4.1.2
elif test $PHP_MAJMIN_VERSION -lt 800; then
installRemoteModule_version=5.4.0
fi
fi
;;
php_trie)
if ! test -f /usr/local/include/hat-trie/include/tsl/htrie_map.h; then
installRemoteModule_src="$(getPackageSource https://codeload.github.com/Tessil/hat-trie/tar.gz/v0.6.0)"