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

[Mac OS X] Phalcon now in MacPorts

For those of you on a Mac, Phalcon is now a supported port on macports.org supporting PHP 5.3, 5.4, and 5.5. It's now the easiest way to get Phalcon on a Mac.

https://trac.macports.org/browser/trunk/dports/php/php-phalcon/Portfile

Nice! It should be added into Homebrew (https://brew.sh/) too!

It is already in the main PHP alternate repo. https://github.com/josegonzalez/homebrew-php

Awesome, good to know.

This is great, thank you Mark.



2.1k

How can a specific version of phalcon be installed using MacPorts? The current head is at 2.0.7, but for testing purposes I need to install 2.0.3.

I'm afraid you can't do that. You can only revert to a previous version if you have that port specific version installed on your system. If I'm wrong please someone to rectify me.



2.1k

Ok, that's what I thought. Thanks for confirming.

I'm afraid you can't do that. You can only revert to a previous version if you have that port specific version installed on your system. If I'm wrong please someone to rectify me.

You can install from source code:

wget https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.3.zip
unzip phalcon-v2.0.3.zip
cd phalcon-v2.0.3/build
sudo ./install