I received the following warning, when I tried to access a file from gitub in PHP script:
Warning: DOMDocument::load() [domdocument.load]:
Unable to find the wrapper “https” – did you forget to enable it when you
configured PHP?
in C:\xampp\htdocs\plaoul\text\gittest.php on line 13`
Can you explain what “wrapper” is, what needs to be configured, and generally what’s happening?
Wrappers are classes made to access data streams through various protocols, in this case, HTTPS. Read here: http://www.php.net/manual/en/intro.stream.php
You need the HTTP/HTTPS wrapper: http://www.php.net/manual/en/wrappers.http.php, plus PHP built with SSL support.
Does
php -m |grep opensslreturn anything?