hyperf-docker
hyperf-docker copied to clipboard
install extension php-redis with pecl instead of apt
while build docker image with command docker-compose -f ubuntu.compose.yaml
, it says "php7.4-redis" does not exist.
$ cat .env
UBUNTU_VERSION=21.10
PHP_VERSION=7.4
SWOOLE_VERSION=4.6.7
so using pecl command to install php-redis extension.