Knowledge base
  • Goal of knowledge base
  • Linux & core
    • Linux
      • Record SSH session for reporting
      • Compress / Decompress files
      • Colorize logs
      • Cron output & logging
      • Signal
      • Break out and escape SSH session
      • Mount volume permanently
      • Show processes most consuming CPU & MEM
      • Improve and optimize battery life on Linux
      • File ownership & groups in linux
      • Automatic security update/patch on Ubuntu
      • Clean buffers and cached on linux
      • Bash completion on Linux/Mac
    • Core services
      • Nginx reload
      • OpenVPN Split tunneling
      • Nmap commands
    • Hardware
      • CPU Architecture fundamental
  • Database
    • MySQL
      • InnoDB - innodb_file_per_table parameter
      • MySQL - enable slow query log
      • MySQL - export large tables
    • MongoDB
  • Container
    • Docker
      • ADD or COPY in Dockerfile
        • Clean data of docker completely
    • Podman
  • Automation
    • Ansible
      • Output format
  • Build & Deployment
    • Jenkins
      • Jenkins - force exit pipeline when failure
  • Language & Toolset
    • PHP
      • Composer
      • php-redis & php-igbinary
  • Mindset
    • Technical based
      • Writing well
      • Reinvent The Wheel
      • Approach a new system
      • Backup philosophy
      • Mindset for building HA and scalable system
      • GitLab database incident
    • Non-technical based
      • How to read news efficiency?
      • How long should you nap?
      • Assume good faith
  • Reference & learning source
    • Books
      • Sysadmin/SRE
      • Mindsets
      • Software fundamentals
    • English
Powered by GitBook
On this page
  • 1. Issue
  • 2. Solution
  1. Language & Toolset
  2. PHP

php-redis & php-igbinary

1. Issue

+ php7.3 /usr/local/bin/composer install --ansi
 PHP Warning:  PHP Startup: Unable to load dynamic library 'redis.so' 
 (tried: /usr/lib/php/20180731/redis.so (/usr/lib/php/20180731/redis.so: undefined symbol: igbinary_serialize), 
 /usr/lib/php/20180731/redis.so.so (/usr/lib/php/20180731/redis.so.so: undefined symbol: igbinary_serialize)) 
 in Unknown on line 0

2. Solution

Outdated PHP package php-igbinary (2.x) may cause that issue /usr/lib/php/20180731/redis.so: undefined symbol: igbinary_serialize

root@home:# dpkg -l | grep php

php-igbinary                         2.0.6~rc1-1+ubuntu16.04.1+deb.sury.org+1
php-redis                            4.3.0-1+ubuntu16.04.1+deb.sury.org+1

Solution is re-install both php-redis & php-igbinary

root@home:# apt install php-redis php-igbinary
...

After that, they're working smoothly. Here is new version of php-igbinary

php-igbinary                         3.0.1+2.0.8-1+ubuntu16.04.1+deb.sury.org+1
php-redis                            4.3.0-1+ubuntu16.04.1+deb.sury.org+1
PreviousComposerNextTechnical based

Last updated 5 years ago