Skip to content

Commit dc7d40f

Browse files
committed
add redis extension
Signed-off-by: sergiu <[email protected]>
1 parent 845e27f commit dc7d40f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.laminas-ci/pre-run.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
#!/bin/bash
22

33
PHP_VERSION="$1"
4-
apt install make
5-
pecl install swoole
6-
echo "extension=swoole.so" > /etc/php/${PHP_VERSION}/mods-available/60-swoole.ini
7-
phpenmod -v ${PHP} -s cli swoole
4+
5+
apt update
6+
apt install -y make php-dev php-pear
7+
8+
pecl install redis
9+
10+
echo "extension=redis.so" | sudo tee /etc/php/${PHP_VERSION}/mods-available/redis.ini
11+
12+
sudo phpenmod -v ${PHP_VERSION} -s cli redis

0 commit comments

Comments
 (0)