You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Homebrew:
--Cache /Users/*username/Library/Caches/Homebrew/
--/usr/local/etc/ contains the php and apache2 --can find the configure file here brew services start homebrew/php/php56
which php /usr/local/bin/php
which httpd /usr/local/bin/httpd
DocumentRoot for Apache2 /usr/local/var/www/htdocs
echo $PATH /Users/*username/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
modify by export PATH=/usr/local/bin:/usr/local/sbin:$PATH
For Homebrew:
--Cache
/Users/*username/Library/Caches/Homebrew/
--
/usr/local/etc/
contains the php and apache2 --can find the configure file herebrew services start homebrew/php/php56
which php
/usr/local/bin/php
which httpd
/usr/local/bin/httpd
DocumentRoot for Apache2
/usr/local/var/www/htdocs
echo $PATH
/Users/*username/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
modify by
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.httpd22.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.httpd22.plist
brew services stop httpd24
brew services start httpd24
➜ ~ which php
/usr/bin/php
➜ ~ which httpd
/usr/sbin/httpd
The text was updated successfully, but these errors were encountered: