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

How do I upgrade Phalcon on Linux?

Release and compile again? I have Phalcon in linux mint and want to upgrade to version 2.09, compiled and downloaded again or what is the right way?

If you install Phalcon from distributive's repository just run upgrade with apt or rpm (Mint based on Ubuntu so apt-get upgrade). If install from git source - download from git and compile.

There is no any magic.



81.2k

I already did an apt-get update and apt-get updrage and noticed that the php5-Phalcon then already updated my Phalcon update package. How do I check?



85.5k

follow any of those https://github.com/phalcon/cphalcon/tree/2.1.x#general-compilation

or below advanced compilation ...



79.0k
Accepted
answer
edited Nov '15

Ubuntu packages are pushed to new version (2.0.9) two days ago. Just fetch new version with standard:

apt get update && apt-get upgrade

I believe you need to check which version you're running.

box ~ # aptitude show php5-phalcon

Package: php5-phalcon                    
New: yes
State: installed
Automatically installed: no
**Version: 2.0.9-ppa1~trusty**
Priority: optional
Section: php
Maintainer: Phalcon PHP Team <[email protected]>
Architecture: amd64

On the other hand, if you compled it manually like I did for my instances, then just wget entire source again (or git clone it) and compile it again.