Skip to content

Commit

Permalink
Fix installing ev on PHP < 8.0 (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati authored Sep 3, 2024
1 parent ac4b767 commit 561f1d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install-php-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -3067,6 +3067,13 @@ installRemoteModule() {
installRemoteModule_version=alpha
fi
;;
ev)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -lt 800; then
installRemoteModule_version=1.1.5
fi
fi
;;
event)
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
if test -z "$installRemoteModule_version" || test $(compareVersions "$installRemoteModule_version" 2.4.0) -ge 0; then
Expand Down

0 comments on commit 561f1d3

Please sign in to comment.