Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Installer.sh cannot locate php.ini #466
I am trying to install WP-CLI on my Mac using installer.sh, yet am receiving the following error message:
When I run the test it reports
The Alternative Install Methods give the same error.
I have not installed the bundled PHP that ships with OS X, nor am I using any kind of package. I use MAMP for my local development environment, so I have various php.ini files scattered in this folder:
What is bizarre is that the installer explicitly tries to search through these locations: https://github.com/wp-cli/wp-cli.github.com/blob/master/installer.sh#L5-L9
Thanks in advance. -JP
I tried your suggestion but it gives me the exact same error message as
On Wed, May 22, 2013 at 6:23 PM, Cristi Burcă email@example.com:
Well, try to find the path to the MAMP binary and use that:
Some places to look for it: https://github.com/wp-cli/wp-cli/blob/master/utils/amp-paths.txt
That worked. As per your suggestion I ran this command, and composer was installed no problem:
However, now when I run this:
everything installs fine except the Boris package:
Sorry to keep bugging you, but any ideas what the problem is?