[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 https://wp-cli.org/installer.sh | bash
command, I get the following error message:The detect_unicode setting must be disabled.
Add the following to the end of yourphp.ini
:
detect_unicode = OffA php.ini file does not exist. You will have to create one.
If you can not modify the ini file, you can also runphp -d option=value
to 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:
/Applications/MAMP/conf/php5.4.4/php.ini
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 ‘[Command Line Interface: WP-CLI] Problem installing WP-CLI: cannot locate php.in’ is closed to new replies.