Why can’t the WP-CLI installer find my php.ini?

This question seems to be really old. No Composer involved now a days to install wp-cli. Just curl, chmod, and copy the file as indicated in http://wp-cli.org/ (:

Now, if anyone wants to add a specific include_path for wp-cli to be aware of (which is how I found this Q) there’s 2 options: set a WP_CLI_PHP environment variable OR set include_path in a local php.ini file and modify the wp script to add the -c option after /path/to/php.