Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure file Location #4

Open
Eavis opened this issue Apr 20, 2017 · 0 comments
Open

Configure file Location #4

Eavis opened this issue Apr 20, 2017 · 0 comments

Comments

@Eavis
Copy link
Owner

Eavis commented Apr 20, 2017

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant