Skip to content

Instantly share code, notes, and snippets.

@adamloving
Created April 23, 2014 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamloving/11232844 to your computer and use it in GitHub Desktop.
Save adamloving/11232844 to your computer and use it in GitHub Desktop.
How to find your shit

Where is apache?

$ which apachectl

It's not a symlink, so it must be mac version! Where's the confthing?

$ apachectl -V | grep conf

Where's PHP?

$ which php
/usr/local/bin/php

$ ls -l /usr/local/bin/php

see -> ../Cellar/php54/5.4.27/bin/php so I know it is the brew version!

Where's php.ini?

$ php -i | grep php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment