mac pro 2017款自帶PHP與apache位置: [apache]apache配置文件 :/etc/apache2/httpd.confDocumentRoot : /Library/WebServer/Documentsapachectl位置 : /usr/sbin/apachectl重啟 ...
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/[email protected]/5.6.38/bin/php
/usr/local/Cellar/[email protected]/5.6.38/bin/phpize
/usr/local/Cellar/[email protected]/5.6.38/bin/php-config
/usr/local/etc/php/5.6/php.ini
/usr/local/Cellar/[email protected]/5.6.38/pecl/20131226/(擴展目錄)