Mac Pro 2017款自帶php與用brew重裝PHP後的地址

mac pro 2017款自帶PHP與apache位置php

[apache]
apache配置文件 :/etc/apache2/httpd.conf
DocumentRoot : /Library/WebServer/Documents
apachectl位置 : /usr/sbin/apachectl
重啓apache命令:sudo apachectl restartapache


[PHP]
/usr/bin/php
/usr/bin/phpize
/usr/bin/php-config
/usr/lib/php/extensions/no-debug-non-zts-20160303/(擴展目錄)debug

 

用brew裝的php5的地址:rest

[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-configio


/usr/local/etc/php/5.6/php.ini
/usr/local/Cellar/php@5.6/5.6.38/pecl/20131226/(擴展目錄)擴展

相關文章
相關標籤/搜索