Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72627

PHPUnit fails: PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so', 'memcached.so'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.10.7
    • None
    • Unit tests
    • MOODLE_310_STABLE

    Description

      PHPUnit fails in github actions for Moodle 3.10.7:

      Run vendor/bin/phpunit -v
      PHP Warning:  PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/20170718/redis.so (/usr/lib/php/20170718/redis.so: undefined symbol: igbinary_serialize), /usr/lib/php/20170718/redis.so.so (/usr/lib/php/20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
      PHP Warning:  PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/lib/php/20170718/memcached.so (/usr/lib/php/20170718/memcached.so: undefined symbol: igbinary_serialize), /usr/lib/php/20170718/memcached.so.so (/usr/lib/php/20170718/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
      Moodle 3.10.7+ (Build: 20210917), 41cfb8996ae267d1b4074017d0c414c8bc527b2f
      Php: 7.2.34.24.18.04.1.1, mysqli: 5.7.35, OS: Linux 5.4.0-1058-azure x86_64
      PHPUnit 8.5.14 by Sebastian Bergmann and contributors.
       
      Runtime:       PHP 7.2.34-24+ubuntu18.04.1+deb.sury.org+1
      Configuration: /home/runner/work/moodle/moodle/phpunit.xml
      

      See https://github.com/golenkovm/moodle/runs/3659046044

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikhailgolenkov Misha Golenkov
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: