Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not install imagick on PHP 8.0.0 #353

Closed
3 of 5 tasks
MGatner opened this issue Nov 30, 2020 · 2 comments
Closed
3 of 5 tasks

Could not install imagick on PHP 8.0.0 #353

MGatner opened this issue Nov 30, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@MGatner
Copy link

MGatner commented Nov 30, 2020

Describe the bug
ImageMagick is failing to install for us on ubuntu-latest. It is not listed on the 8.0 extensions list (https://github.com/shivammathur/setup-php/wiki/Php-extensions-on-ubuntu-20.04#php-80) but I also don't see it there for 7.4 which is working fine. I also see this issue has come up before (#320) and been resolved.

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems
ubuntu-latest

PHP versions
Various (issue is with 8.0.0)

To Reproduce

jobs:

  tests:
    runs-on: ubuntu-latest
    if: "!contains(github.event.head_commit.message, '[ci skip]')"
    name: PHP ${{ matrix.php-versions }} - ${{ matrix.db-platforms }}

    strategy:
      fail-fast: false
      matrix:
        php-versions: ['7.2', '7.3', '7.4']
        db-platforms: ['MySQLi', 'Postgre', 'SQLite3', 'Sqlsrv']
...
      - name: Checkout
        uses: actions/checkout@v2

      - name: Setup PHP, with composer and extensions
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php-versions }}
          tools: composer, pecl
          extensions: imagick, sqlsrv
          coverage: xdebug
        env:
          update: true

Expected behavior
Prefer not to see "The ImageMagick extension is not available"

Screenshots/Logs
Check the "Setup PHP" step:
https://github.com/codeigniter4/CodeIgniter4/pull/3932/checks?check_run_id=1471547834#step:6:19

Additional context
Trying to add support for PHP 8.0 to the CodeIgniter framework

Are you willing to submit a PR?
I am comfortable with PRs but would need some direction as to how to troubleshoot the issue. I am also willing to receive a quote for work that needs to be done.

@MGatner MGatner added the bug Something isn't working label Nov 30, 2020
@shivammathur
Copy link
Owner

shivammathur commented Dec 1, 2020

@MGatner Fixed.
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/392778803/workflow

The lists in wiki are extensions which are loaded by default, more extensions which are available as packages and available on pecl are supported.

@MGatner
Copy link
Author

MGatner commented Dec 1, 2020

@shivammathur Thanks so much! Sorry for the wiki misunderstanding 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants