Install Phalcon Devtools on OSX with Mamp

0

I am trying to install phalcon-devtools in OSX with MAMP and Php 7.0.10 but there is no way to make it work. I downloaded the extension phalcon.so to the corresponding version of my php and the I went up in:

  

/Applications/MAMP/bin/php/php7.0.10/lib/php/extensions

When I do a phpinfo () it shows me that the extension has been loaded correctly so I continue with the installation phalcon-devtools .

After installation, when I try to use it by typing any command, I get an error saying that the extension has not been installed:

  

ERROR: Phalcon extension is not installed, follow these instructions to install it: link

Can someone help me out please?

    
asked by Infobuscador 30.09.2016 в 22:18
source

1 answer

1

Depending on the configuration, you may have several php.ini, one for CLI and another for WebServer

php -i | grep 'php.ini'

check if it appears the same

If not, add the load of the phalcon extension to that php.ini that would be the console specific.

This has happened to me on servers.

    
answered by 04.04.2017 / 18:16
source