Last active
August 29, 2015 13:56
-
-
Save starikovs/9298108 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew update; # update packages' info | |
brew upgrade; # upgrade outdated packages | |
brew install <some_package>; # install package which you want | |
brew install vim | |
brew install mysql | |
brew doctor | |
brew search vim | |
brew search php | |
brew info mysql | |
brew options mysql | |
--- php --- | |
brew tap homebrew/dupes | |
brew tap homebrew/versions | |
brew tap josegonzalez/homebrew-php | |
brew info php56 | |
brew options php56 | |
httpd.conf: | |
#LoadModule php5_module libexec/apache2/libphp5.so | |
LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so | |
.bash_profile: | |
export PATH="$(brew --prefix josegonzalez/php/php56)/bin:$PATH" | |
php.ini: | |
/usr/local/etc/php/5.6/php.ini | |
sudo apachectl restart (stop, start) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment