Viewing 1 item
Tag Archives: WP CLI

Get WP CLI to use MAMP’s version of PHP

I just set up WP CLI and it wasn’t working because I had MAMP installed. This advice fixed the issue at hand: [http://stackoverflow.com/questions/4145667/how-to-override-the-path-of-php-to-use-the-mamp-path/10653443#10653443] In your home folder /Users/David for exmaple, you can create a .bash_profile. In here you can export variables and then add them to your path. Open up the file to edit it  Full Article…

0