Skip to content

Commit

Permalink
update PHPVER export
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
Daniel Hansson committed Oct 2, 2024
1 parent 5e95f0d commit 881ac2f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,15 @@ then
elif grep 8.2 <<< "$GETPHP" >/dev/null 2>&1
then
export PHPVER=8.2
elif grep 8.3 <<< "$GETPHP" >/dev/null 2>&1
then
export PHPVER=8.3
elif grep 8.4 <<< "$GETPHP" >/dev/null 2>&1
then
export PHPVER=8.4
elif grep 8.5 <<< "$GETPHP" >/dev/null 2>&1
then
export PHPVER=8.5
fi

export PHP_INI=/etc/php/"$PHPVER"/fpm/php.ini
Expand Down

0 comments on commit 881ac2f

Please sign in to comment.