Installing Php7.0.15brew install homebrew/php/php70brew install homebrew/php/php70-mcryptbrew install homebrew/php/ Php70-redisbrew Install Homebrew/php/php70-msgpackbrew installation homebrew/php/php70-memcached the path to the executable file (-V) after installing PHP:/ Usr/local/bin/php-v/usr/local/bin/phpize-v/usr/local/bin/php-config-v/usr/local/sbin/php-fpm-v Install Phplcon: (homepage or 3.0.3; The problem is finding the right Phpize,php-config) CD ~/downloads/git clone git://github.com/phalcon/cphalcon.gitCD cphalcon/git checkout v3.0.3CDBuild/php7/64bits/usr/local/bin/phpize./configure-with-php-config=/usr/local/sbin/php-fpmmake # will appear in the middle
Warning Ignoresudo make installModify ConfigurationFind configuration file/usr/local/bin/php-iniVim/usr/local/etc/php/7.0/php.ini or:/usr/local/etc/php/7.0/conf.d/to add a separate configuration file the two modifications to the configuration file seem to be different without in-depth research Start PHP-FPM because there are already php5 php-fpm in the local area that take up 9000 ports, you need to set up another: Find configuration file:/usr/local/sbin/php-fpm-tVim/usr/local/etc/php/7.0/php-fpm.conf can see the last line: include=/usr/local/etc/php/7.0/php-fpm.d/*.conf cd/usr/local/etc/ Php/7.0/php-fpm.d/vim www.conf Search Listen modify port such as 9000 change to 90001 sudo/usr/local/sbin/php-fpm-d
Mac installs Php70 +php-fpm+ phalcon3.0.3 with Brew