Fix support for phalcon and gearman

This commit is contained in:
Shivam Mathur
2020-05-13 21:48:11 +05:30
parent 4ce413f558
commit 8e6968c49e
5 changed files with 850 additions and 515 deletions

View File

@ -36,7 +36,7 @@ tick="✓"
cross="✗"
if [ "$extension_major_version" = "4" ]; then
if [ -e "$ext_dir/psr.so" ]; then
if [ -e "$ext_dir/psr.so" ] && ! php -m | grep -i -q -w psr; then
echo "extension=psr.so" | sudo tee -a "$ini_file" >/dev/null 2>&1
fi
@ -69,4 +69,4 @@ if [ "$extension_major_version" = "3" ]; then
else
install_phalcon "$1" "$2"
fi
fi
fi