Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

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

0 votes
Norbert C Atlassian Team Jan 07, 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:


Please let me know how it goes.

Best Regards,
Atlassian Bitbucket Cloud Support

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events