mac HomeBrew 安装 PHP7.1

HomeBrew 安装 PHP7.1

$ brew update

$ brew tap homebrew/dupes

$ brew tap homebrew/php

$ brew update

$ brew install php71

 

安装好后生成的配置文件都在 /usr/local/etc/php/7.1 目录里,分别如下:

php.ini /usr/local/etc/php/7.1/php.ini
php-fpm.conf /usr/local/etc/php/7.1/php-fpm.conf
php, phpize, php-config ls /usr/local/opt/php71/bin
php-fpm /usr/local/opt/php71/sbin/php-fpm

未经允许不得转载:天宝寺||陈瑞轩 » mac HomeBrew 安装 PHP7.1

赞 (0) 打赏

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏