You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image should work by just adding redis extension without you need to add igbinary.
Current Behavior
Starting image fails:
$ docker-compose up web
Recreating redis-breaks_web_1 ... done
Attaching to redis-breaks_web_1
web_1 | PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/20190902/redis.so (/usr/lib/php/20190902/redis.so: undefined symbol: igbinary_serialize), /usr/lib/php/20190902/redis.so.so (/usr/lib/php/20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
web_1 | /usr/local/bin/docker-entrypoint-as-root.sh: line 129: supercronic: command not found
web_1 | PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/20190902/redis.so (/usr/lib/php/20190902/redis.so: undefined symbol: igbinary_serialize), /usr/lib/php/20190902/redis.so.so (/usr/lib/php/20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
web_1 | bash: line 2: syntax error near unexpected token `('
web_1 | bash: line 2: `Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/20190902/redis.so (/usr/lib/php/20190902/redis.so: undefined symbol: igbinary_serialize), /usr/lib/php/20190902/redis.so.so (/usr/lib/php/20190902/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0'
redis-breaks_web_1 exited with code 2
Possible Solution
Somehow autoenable igbinary extension after redis extension is enabled.
add some disclaimer in Readme.md that igbinary extension is required
Steps to Reproduce (for bugs)
Make Dockerfile
# Required default PHP extensionsARG PHP_EXTENSIONS="redis"# Image for the developmentFROM thecodingmachine/php:7.4-v3-slim-apache
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please update it if any action still required.
As follow up from #213 , Kudos to #213 (comment)
Expected Behavior
Image should work by just adding
redis
extension without you need to addigbinary
.Current Behavior
Starting image fails:
Possible Solution
igbinary
extension afterredis
extension is enabled.Readme.md
thatigbinary
extension is requiredSteps to Reproduce (for bugs)
Dockerfile
docker-compose.yml
docker-compose build
docker-compose up web
The text was updated successfully, but these errors were encountered: