And in your composer.json file do you have:
"require": {
"php": "^7.2",
...
or you changed it to ^7.4?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hey guys I just pulled a project from bitbucket and tried running composer install I got the following error
Your requirements could not be resolved to an installable set of packages.
Problem 1 - Installation request for symfony/css-selector v5.0.4 -> satisfiable by symfony/css-selector[v5.0.4]. - symfony/css-selector v5.0.4 requires php ^7.2.5 -> your PHP version (7.2.4) does not satisfy that requirement. Problem 2
So I updated my PHP version from 7.2.4 to 7.4.4, stopped the wamp server then shut down my system and restarted it. Checked my server configuration and can confirm that the php version updated successfully
Server Configuration
Apache Version:
2.4.33 - Documentation
PHP Version:
7.4.4 - Documentation
Server Software:
Apache/2.4.33 (Win64) PHP/7.4.4RC1 - Port defined for Apache: 80
Tried running the composer install again and still getting the same error.
The project is running Laravel 6.2 as seen in the composer.json file "laravel/framework": "^6.2",
Any ideas how I can fix this?
Please or to participate in this conversation.