We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Your requirements could not be resolved to an installable set of packages.

Recently I've come with a problem in tutorial vokuro. I installed composer and execute the command line: cd vokuro and composer install as the doc told me. And after execution, I met up with this error:

PHP Warning: Module 'phalcon' already loaded in Unknown on line 0 Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1 - The requested PHP extension ext-phalcon >=1.2.4 has the wrong version (2.1.0r) installed. Install or enable PHP's phalcon extension.

The error infomation seemed to tell me that my php version doesn't meet the requirements, but my Phalcon's version is 2.1.0.r, why not satisfies ?



990
Accepted
answer

Ok, I solved this problem myself. Just delete one line in composer.json, that is "ext-phalcon": ">=1.2.4",