
JONNATHAN ANDRES RIOS SALAZAR
PreguntaAl tratar de ejecutar desde el CMD el comando php xkcd.php me topo con el siguiente error de ejecución:
PHP Warning: file_get_contents(): Unable to find the wrapper “https” - did you forget to enable it when you configured PHP? in C:\Users\Jonnathan\Documents\API REST\xkcd.php on line 3
PHP Warning: file_get_contents(https://xkcd.com/info.0.json): failed to open stream: No such file or directory in C:\Users\Jonnathan\Documents\API REST\xkcd.php on line 3
Dan Paulo
yo ya intenteto esto , comente los valores que indica pero como ahora la version 8.1.10 no se si aplica lo mismo igual lo hice, pero sigo obteniendo el mismo resultado

Juan Castro
Para solucionar el primer error puedes seguir esta guía: https://stackoverflow.com/questions/18643572/unable-to-find-the-wrapper-https-with-file-get-contents/43513546.