How to install phalcon version 2
问题 I have some applications built on phalcon version 2, but since the release of the version 3, new installations of phalcon default to version 3. 回答1: You need to install phalcon from source, but instead of build from the master branch switch the branch to the 2.0.x branch. git clone --depth 1 https://github.com/phalcon/cphalcon.git cd cphalcon git remote set-branches origin '2.0.x' git fetch --depth 1 origin 2.0.x git checkout 2.0.x cd build ./install I created this gist to make this easier -