Created
November 29, 2013 20:26
-
-
Save trevorgreenleaf/7711464 to your computer and use it in GitHub Desktop.
Switching PHP from mac to MAMP's PHP
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
Go to Terminal | |
Enter " which php " | |
If it says /usr/bin/php, then proceed to 3. | |
Enter sudo nano ~/.bash_profile (or sudo vim ~/.bash_profile if you know how to use it) | |
then paste this export PATH="/Applications/XAMPP/xamppfiles/bin:$PATH" | |
ctrl - O then enter to save, then ctrl - X to exit. | |
restart terminal. | |
Enter which php | |
http://stackoverflow.com/questions/16830405/laravel-requires-the-mcrypt-php-extension |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure to look up the path to either your XAMP or your MAMP