back home

Mcrypt PHP extension for Laravel in XAMPP Mac

May 5, 2014

Go to Terminal and type $ which php

If it says : /usr/bin/php
Type $ sudo nano ~/.bash_profile and paste this line

export PATH="/Applications/XAMPP/xamppfiles/bin:$PATH"


Save it by hit Ctrl + x, choose Y, and Enter

Close Terminal, and Open New Terminal.

Type $ which php

If you did it right, it should changed to /Applications/XAMPP/xamppfiles/bin/php