Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 502d09f

Browse files
yatsukhnenkomichael-grunder
authored andcommitted
Fix PHP 8.1 tests
1 parent 4d2afa7 commit 502d09f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
phpize
3636
./configure --enable-redis-lzf --enable-redis-zstd --enable-redis-igbinary --enable-redis-msgpack --enable-redis-lz4 --with-liblz4
3737
sudo make install
38-
sudo mkdir -p /etc/php/${{ matrix.php }}/cli/conf.d
39-
echo 'extension = redis.so' | sudo tee -a /etc/php/${{ matrix.php }}/cli/conf.d/90-redis.ini
38+
echo 'extension = redis.so' | sudo tee -a $(php --ini | grep 'Scan for additional .ini files' | awk '{print $7}')/90-redis.ini
4039
- name: Start redis
4140
run: |
4241
redis-cli SHUTDOWN NOSAVE

0 commit comments

Comments
 (0)