• 카테고리

    질문 & 답변
  • 세부 분야

    프로그래밍 언어

  • 해결 여부

    미해결

file_get_contents 안됨 문의

20.04.07 18:09 작성 조회수 267

0

file_get_contents 를 써서 외부 php 홈페이지를 불러오려고 하는데, 

Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in C:\Bitnami\wampstack-7.3.16-1\apache2\htdocs\firstapp\readhp.php on line 2

Warning: file_get_contents(https://www.php.net/manual/en/function.array-change-key-case.php): failed to open stream: No such file or directory in C:\Bitnami\wampstack-7.3.16-1\apache2\htdocs\firstapp\readhp.php on line 2

이런 에러가 뜨면서 안열리네요. 해결방법 좀 알려주세요.

답변 1

답변을 작성해보세요.

0

Meeso Park님의 프로필

Meeso Park

2022.02.16

인자로 넣으신 URL을 문자처럼 감싸야되는 따옴표가 빠진거같습니다 ㅎㅎ

file_get_contents('https://www.php.net/manual/en/function.array-change-key-case.php');