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

[Image] PHP FPM 7.2 not working in Apple Silicon Chip #755

Open
MagePsycho opened this issue Mar 10, 2024 · 2 comments
Open

[Image] PHP FPM 7.2 not working in Apple Silicon Chip #755

MagePsycho opened this issue Mar 10, 2024 · 2 comments
Labels
bug Something isn't working docker-images

Comments

@MagePsycho
Copy link

Version of Warden

0.14.2

Operating System and Installation Method

Mac OS 14.3.1 (M3 Chip) via Brew

Image

php-fpm 7.2

Describe the Bug

Using PHP 7.2, gives an error:

php-fpm The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

To Reproduce

  1. In .env use PHP_VERSION=7.2
  2. warden env up
    You will see the mentioned error.

Expected Behavior

M3 chip should also support PHP 7.2 image

Additional context

No response

@MagePsycho MagePsycho added bug Something isn't working docker-images labels Mar 10, 2024
@bap14
Copy link
Contributor

bap14 commented Mar 10, 2024

@MagePsycho This may not be possible because PHP 7.2 is so old, some of the required packages may not be available in the arm64 variant images. There is nothing preventing the amd64 variant from running an arm (M1, M2, M3) chip, it's just that it won't be as performant as it could be.

This is not an error, this is just a warning. You also get this any time you start a project with Elasticsearch on an arm64 processor.

@MagePsycho
Copy link
Author

@bap14 Yeah, you are correct. Despite having these errors, I can run the containers.
Thanks for your confirmation.

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

No branches or pull requests

2 participants