Add support for phalcon (#994)

pull/995/head
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

@ -81,6 +81,7 @@ pdo_odbc 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
pdo_pgsql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
pdo_sqlsrv 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
pgsql 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
phalcon 7.2 7.3 7.4 8.0 8.1 8.2 8.3
php_trie 7.3 7.4 8.0 8.1 8.2 8.3 8.4
phpy 8.1 8.2 8.3 8.4
pkcs11 7.4 8.0 8.1 8.2 8.3 8.4

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)"