Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,450 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you