I’m having problems installing php redis ext. using pecl but when I rebuild with SSH I’m able to install it.
version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/php:7.1.5 - image: redis:2.8.19 steps: - checkout - run: sudo pecl channel-update pecl.php.net - run: sudo pecl install redis && sudo docker-php-ext-enable redis
channel-update pecl command is run successfuly:
but pecl install redis fails. I also tried to install zip extension over pecl, and this works, but installing redis doesn’t. I get the following output:
sudo pecl install redis && sudo docker-php-ext-enable redis No releases available for package "pecl.php.net/redis" install failed Exited with code 1
Also, it seems that php image that I use doesn’t have composer binary and judging by this https://github.com/circleci/circleci-images/blob/master/php/generate-images#L14 it should have?