What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
HI Team , I am receiving the follwing error while accessing Yves & Zed layer Fatal error: Comp
HI Team ,
I am receiving the follwing error while accessing Yves & Zed layer
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.3.28 located at: /usr/local/sbin/php-fpm in /data/vendor/composer/platform_check.php on line 24
In Composer Json file entries
"require": {
"php": ">=8.1",
"platform": {
"php": "8.1"
},
Deploy.yml file entries
environment: docker
image: spryker/php:8.1
Deploy.dev.yml file entries
environment: docker
image:
tag: spryker/php:8.1
Deploy.dev-local.yml file entries
environment: docker
image:
tag: spryker/php:8.1
While running php -v in command prompt showing
PHP 8.1.17 (cli) (built: Mar 16 2023 14:38:37) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.17, Copyright (c) Zend Technologies
with Zend OPcache v8.1.17, Copyright (c), by Zend Technologies
Do we need to check any other files ?
Thanks
Ravi
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,056 ⚖️ - Guardians (admin)
can you do the following:
docker/sdk cli
and then in there dophp -v
0 -
Your deploy..yml should contain the image: image:
tag: spryker/php:8.1-debian0 -
─$ php -v
PHP 7.3.28 (cli) (built: Apr 29 2021 20:00:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.28, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.28, Copyright (c) 1999-2018, by Zend Technologies0 -
How to change this version to php 8.1 ?
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,056 ⚖️ - Guardians (admin)
whenever you change something in your deploy-files you need to run
docker/sdk bootstrap <your-deploy-file>
again. and thendocker/sdk up
0 -
Thanks Florian for your help.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 894 Developer Corner
- 757 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random