Mac installs Php70 +php-fpm+ phalcon3.0.3 with Brew

Source: Internet
Author: User
Tags fpm install homebrew

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.