Mac Pro 2017款自带php与用brew重装PHP后的地址
mac pro 2017款自带PHP与apache位置:
[apache]
apache配置文件 :/etc/apache2/httpd.conf
DocumentRoot : /Library/WebServer/Documents
apachectl位置 : /usr/sbin/apachectl
重启apache命令:sudo apachectl restart
[PHP]
/usr/bin/php
/usr/bin/phpize
/usr/bin/php-config
/usr/lib/php/extensions/no-debug-non-zts-20160303/(扩展目录)
用brew装的php5的地址:
[PHP]
/usr/local/Cellar/php@5.6/5.6.38/bin/php
/usr/local/Cellar/php@5.6/5.6.38/bin/phpize
/usr/local/Cellar/php@5.6/5.6.38/bin/php-config
/usr/local/etc/php/5.6/php.ini
/usr/local/Cellar/php@5.6/5.6.38/pecl/20131226/(扩展目录)