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

Phalcon Installation On Mac

Hi Everybody,

I installed like that

  1. git clone --depth=1 git://github.com/phalcon/cphalcon.git**
  2. cd cphalcon/build
  3. sudo ./install

Installation completed and the path show /usr/local/...... just like the below photo. So when I add extension=phalcon.so in php.ini, I used full location of phalcon.so but I can't see phalcon in phpinfo(). What I need to do. Plz give me suggestion.

Thanks,

  • try a make test to see if building really worked
  • did you edit the php.ini for the cl or for your webserver?

try php -m|grep phalcon --> if you see phalcon then you edited the php.ini for the cli

There are some nice mac threads on this forum: https://forum.phalcon.io/search?q=mac



85.5k

hey, in 2.1.x the readme is a bit more detailed for instalation:

https://github.com/phalcon/cphalcon/tree/2.1.x

i think you need

https://github.com/majksner/php-phalcon-mamp