The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pipelines: image is php 7.4, composer install thinks it's 7.3?

Nathan Bennett
January 5, 2022

Hello - we have a site with a pipeline integration, using the following image:

 

image: magento/magento-cloud-docker-php:7.4-cli-1.2.3

 

However, when the pipeline gets to the `composer install` step, it errors thinking it thinks it's using 7.3:

Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laminas/laminas-filter 2.13.0 -> satisfiable by laminas/laminas-filter[2.13.0].
- laminas/laminas-filter 2.13.0 requires php ^7.4 || ~8.0.0 || ~8.1.0 -> your PHP version (7.3.17) does not satisfy that requirement.
We use that image on other 7.4 sites without issue, is there something else that needs to be updated in the pipeline to allow composer to use 7.4?
Thx for any insights

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Norbert Csupka
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 7, 2022

Hi Nathan,

Thank you for contacting Atlassian Community. My name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet you!

It sounds interesting, can I ask you to run the following command in your build, please? This command should tell us, what's the PHP version which is used by PHP composer

composer -vvv about

When I've tried this using the build that you've mentioned, it tells me, that the PHP version is 7.4.20:

phpversion.png

Please let me know how it goes.

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

TAGS
AUG Leaders

Atlassian Community Events