[Resolved] [Command Line Interface: WP-CLI] Problem installing WP-CLI: cannot locate php.in
Hi: when I try to install WP-CLI on my Mac using the
curl http://wp-cli.org/installer.sh | bashcommand, I get the following error message:
The detect_unicode setting must be disabled.
Add the following to the end of your
detect_unicode = Off
A php.ini file does not exist. You will have to create one.
If you can not modify the ini file, you can also run
php -d option=valueto modify ini values on the fly. You can use -d multiple times.
PHP is not installed using the OS X bundle or any kind of package, but it is working using MAMP. Therefore my php.ini file is located here:
Is there any way to tell the installer to use that ini file by using symlinks or changing PATH variables, or do I need to install PHP using one of the former methods? Thanks.
- The topic ‘[Resolved] [Command Line Interface: WP-CLI] Problem installing WP-CLI: cannot locate php.in’ is closed to new replies.