lando / lando/upsun

PHP 8.0 Imagick not supported / causes error

Open
#138 7 comments 0 reactions 0 assignees View on GitHub
Needs Triage
Dominant language
JavaScript
Stars
7
Forks
5
Avg merge
1h 17m
Merged PRs (30d)
3

Description

The extension imagick cannot be enabled for the platform.sh recipe when using php 8.0. There was an issue/bug in the platform.sh image which has been resolved.

Setup direct in `.platform.app.yaml` or via override.

```yaml
type: php:8.0

runtime:
extensions:
- imagick
- ...
```
Causes the following error:
```
Exception: Extension '{'configuration': {}, 'name': u'imagick'}' is unknown.
```

The deployment to platform.sh works without issues, the error only occurs locally. If I override the extensions and remove `imagick`, then it's possible to start the lando project. Maybe there is the latest image for php 8.0 missing / wrong tagged.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the local failure with the PHP 8.0 example in .platform.app.yaml, keeping imagick enabled, and compare it with the working platform.sh deployment. Trace the local recipe or override handling for runtime extensions and confirm done when a local Lando start succeeds without requiring imagick to be removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.