I have a laravel project that i now have moved from predis to phpredis.
But i can’t install phpredis to the php-7.2.9 image.
I try installing with
yes '' | sudo -E pecl install -o -f redis sudo -E docker-php-ext-enable redis
but i am getting the error
configuration option "php_ini" is not set to php.ini location You should add "extension=redis.so" to php.ini
Even when i try define a php.ini file for it to define the extension it will throw me out of the build.
Anyone that can point me in the right direction?