Replies: 3 comments 2 replies
-
In these lines we make sure that the Does |
Beta Was this translation helpful? Give feedback.
-
Whoops, sorry... you wrote I've tried to change addConfigureOption 'enable-redis-lzf' 'yes' to addConfigureOption 'enable-redis-lzf' 'no' But I still have the following error:
I think that the reason is that the code directly downloaded from GitHub is missing the liblzf submodule, and the PHP extension assumes it's there even if it won't use lzf. |
Beta Was this translation helpful? Give feedback.
-
If you really need to download code from github, I think that your only option is to use these commands: # Install git on Alpine Linux
apk add git
# Install git on Debian
apt update && apt install -qy git
# Clone the repo and install submodules
git clone -b develop --depth 1 --single-branch --recurse-submodules https://github.com/phpredis/phpredis.git /tmp/phpredis
# Fix bug - see https://github.com/phpredis/phpredis/pull/2346
mv /tmp/phpredis/array.md /tmp/phpredis/arrays.md || true
# Install it
/app/install-php-extensions /tmp/phpredis
# Cleanup
rm -rf /tmp/phpredis |
Beta Was this translation helpful? Give feedback.
-
When trying to install
phpredis/phpredis@develop
in my container it keeps failing because the installer explicitly assumes lzf should be enabled without any verification or reasoning. Can I override this from the command line, or do I have to patch the script?docker-php-extension-installer/install-php-extensions
Line 3140 in 7655337
Beta Was this translation helpful? Give feedback.
All reactions