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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.10.7
    • Unit tests
    • MOODLE_310_STABLE

      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

            Unassigned Unassigned
            mikhailgolenkov Misha Golenkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.