Skip to content

Commit

Permalink
Merge pull request #137 from gsteel/3.1-into-3.0-sync
Browse files Browse the repository at this point in the history
Synchronise branch 3.1.x with 3.0.x
  • Loading branch information
gsteel authored Jan 23, 2025
2 parents 687730a + 7432e71 commit 17a7e67
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .laminas-ci/pre-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,12 @@ COMMAND=$(echo "${JOB}" | jq -r '.command // ""')
PHP=$(echo "${JOB}" | jq -r '.php // ""')
REDIS_VERSION=${BASH_REMATCH[1]}

echo "SETUP: Installing ext-redis $REDIS_VERSION with PHP $PHP..."
pecl install -f --configureoptions 'enable-redis-igbinary="yes" enable-redis-lzf="yes"' igbinary redis-${REDIS_VERSION}

if [ $? -ne 0 ]; then
echo "ERROR: Installation of ext-redis $REDIS_VERSION with PHP $PHP failed."
exit 1
fi

echo "extension=redis.so" > /etc/php/${PHP}/mods-available/redis.ini

0 comments on commit 17a7e67

Please sign in to comment.