Skip to content

Instantly share code, notes, and snippets.

@jcamenisch
Last active December 14, 2015 12:59
Show Gist options
  • Save jcamenisch/5090478 to your computer and use it in GitHub Desktop.
Save jcamenisch/5090478 to your computer and use it in GitHub Desktop.
Mac Setup notes

Install MAMP Pro for Apache/PHP/MySQL

  • Download & install from http://www.mamp.info/

  • Set MySQL root password using MAMPP Pro UI

  • Configure Pow to proxy unknown hosts to Apache with:

    echo 8888 > ~/.pow/default
  • Set up local mysql socket in standard location:

    sudo mkdir /var/mysql
    sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock

Install Sequel Pro for easy MySQL management

Install PHPUnit

echo 2 | mamp_path
sudo pear config-set auto_discover 1
sudo pear install pear.phpunit.de/PHPUnit

Install phpsh (repl for php)

brew tap josegonzalez/php
brew install phpsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment