-
Notifications
You must be signed in to change notification settings - Fork 13
Mac installation
Nader Safadi edited this page Jan 16, 2020
·
13 revisions
- xcode - app store or use this instead of using xcode for git.
- phpstorm from web site.
-
http://brew.sh/ ->
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- MAMP ->
http://www.mamp.info/en/downloads/
- Instead of MAMP http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-9-mavericks/
- Drush - Clone from github into /.drush
- Github ssh ->
ssh-keygen -t rsa -C "[email protected]"
- Git auto complete http://railslove.com/blog/2011/11/25/git-autocomplete-in-bash-on-a-mac
curl https://raw.github.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
- copy .bash_profile from this awsome Gist https://gist.github.com/bricel/fbe9c52e8bf4a86a5cbe
- Textmate
- xhprof http://danieldvork.in/xhprof-vs-xdebug-apache-osx/
sudo mkdir /var/mysql
sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock
If the above not work, try this
sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql
Apache configuration:
- Enable apache-php module:
cd /etc/apache2/
vi httpd.conf
Uncomment the following line (remove #):
LoadModule php5_module libexec/apache2/libphp5.so
- For Apache 2.4: Uncomment the following line (remove #):
LoadModule deflate_module libexec/apache2/mod_deflate.so
LoadModule expires_module libexec/apache2/mod_expires.so
LoadModule rewrite_module libexec/apache2/mod_rewrite.so