问题
How can I install phalcon dev-tools 3.4 instead of 4?
My phalcon extension is v3.4.5, installed this version because version 4 has some problems with Ubuntu.
So these are the steps I did
I git cloned from their official repo https://github.com/phalcon/phalcon-devtools.git
Checked out to remotes/origin/3.4.x
Then I run composer install, but I get the following error:
The requested PHP extension ext-phalcon ^4.0.0 has the wrong version (3.4.5) installed. Install or enable PHP's phalcon extension.`
回答1:
composer require phalcon/devtools:3.4.12
or
you can clone it from here and then add it your path:
https://github.com/phalcon/phalcon-devtools/tree/v3.4.12
also check the discussion here if you ran into the handler class cannot be loaded
issue
来源:https://stackoverflow.com/questions/61199931/install-phalcon-dev-tools-3-4