I am trying to install a dependency management tool called composer(getcomposer.org). The installation requires me to run a CLI script to download files using HTTPS. The command line text is: php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'))
When I run this I get the follow message: Unable to find wrapper - "https" - did you forget to enable it?
I have enable php_openssl and also the sslmodule in apache, but I still get the same error.
Once again, your knowledge has saved me much time and effort.
It is the un-documented or a comment in passing regarding the bits of information to get a technology to work that cost so much time. I had no idea that there were multiple php.ini files. The php_openssl was not set in the CLI php.ini.
It would be nice if WAMP would include php.ini(CLI) in the pop up menu system.
The allow_url_fileopen was the other piece of the puzzle I needed.
Thank you.
I had worked around the initial file download, but Composer uses a compiled script that downloads dozens of other files using https protocol. So using my browser was not an option.