Reputation: 37
Im running in Ubuntu 15 and installed Phalcon v3 but i have an issue with our current working API which is using v2 of Phalcon, is there a way to downgrade the current version of Phalcon that i'd installed to the previous v2?
Upvotes: 4
Views: 2197
Reputation: 2003
Usually, during compilation of Phalcon, you would execute this command. By default it will clone the master
branch.
git clone --depth=1 git://github.com/phalcon/cphalcon.git
But to select a specific branch, you need to add the branch
parameter to the end of your command.
git clone --depth=1 git://github.com/phalcon/cphalcon.git --branch 2.0.0
Now just run the other commands to (re)compile Phalcon
cd cphalcon/build
sudo ./install
You can check all the other available branches on github (see image below)
Upvotes: 4