shivammathur / setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
https://setup-php.com
MIT License
2.89k stars 337 forks source link

Installation of xml fails on 32bits #757

Closed come-nc closed 1 year ago

come-nc commented 1 year ago

Describe the bug

Version

Runners

Operating systems

ubuntu-latest

PHP versions

8.3

To Reproduce

      - name: Install tools
        run: |
          sudo apt-get update
          sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra

      - name: Set up php ${{ matrix.php-versions }}
        uses: shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f #v2.25.5
        with:
          php-version: ${{ matrix.php-versions }}
          extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
          tools: phpunit:9
          coverage: none
          ini-values:
            apc.enabled=on,
            apc.enable_cli=on

Expected behavior

Screenshots/Logs

Run shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f
/usr/bin/docker exec  9eee57655e51796fc114d80f35fdd292e73a2cc546fea48ee45369318cff5156 sh -c "cat /etc/*release | grep ^ID"
/usr/bin/bash /__w/_actions/shivammathur/setup-php/72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f/src/scripts/run.sh

==> Setup PHP
✓ PHP Installed PHP 8.3.0-dev (cb927e0fc043cb454ee58b7485cbce191df5d512)

==> Setup Extensions
php: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
php: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
php: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
Error: The operation was canceled.

Additional context

Are you willing to submit a PR?

shivammathur commented 1 year ago

@come-nc

Fixed in https://github.com/shivammathur/node-docker/commit/8e5fed192ab8709418cc7e1fabaebda1792485af.

Please restart your workflow, it should work now.