mac os x安装php7.0和phalcon3.0
1,安装xampp(with php7.0)
下载地址: https://www.apachefriends.org/download.html
2,安装phalcon3.0
cd ~/
git clone --depth=1 git://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install
3, 修改/Applications/XAMPP/etc/php.ini
在文件最后加上两句:
;phalcon extension=/Users/MyUserName/cphalcon/build/php7/64bits/modules/phalcon.so
参考: https://developerjack.com/blog/2015/12/11/Installing-PHP7-with-homebrew/
https://phalconphp.com/en/download