Skip to content

Allow installing extensions on PHP 8.1 normally #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions scripts/extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ function install_extensions {
done

case "$PHP" in
8.1)
echo "Cannot install extensions for the current PHP version."
echo "Please use \".laminas-ci/pre-run.sh\" to setup specific extensions for PHP $PHP"
echo "Additional details can be found on https://stackoverflow.com/q/8141407"
echo "The following extensions were not installed: ${EXTENSIONS[*]}"
;;
# Example for handling extensions for different PHP versions:
# 8.1)
# echo "Cannot install extensions for the current PHP version."
# echo "Please use \".laminas-ci/pre-run.sh\" to setup specific extensions for PHP $PHP"
# echo "Additional details can be found on https://stackoverflow.com/q/8141407"
# echo "The following extensions were not installed: ${EXTENSIONS[*]}"
# ;;
*)
install_packaged_extensions "$PHP" "${EXTENSIONS[@]}"
;;
Expand Down