file could not be downloaded: Unable to find the wrap per "https" - did you forget to enable it when you configured PHP? failed to open stream: No such file or directory
snippet in php

file could not be downloaded: Unable to find the wrap per "https" - did you forget to enable it when you configured PHP? failed to open stream: No such file or directory

user8916

solved it in XAMPP by uncommenting ;extension=php_openssl.dll in 
/apache/bin/php.ini despite 
phpinfo() telling me /php/php.ini 
was the loaded ini file.
  
And You just uncomment the extension_dir in php.ini