windows php 7.4.9에서 Uncaught Error: Call to undefined function curl_init() 에러 > 자료실

자료실

자료실

windows php 7.4.9에서 Uncaught Error: Call to undefined function curl_in…

페이지 정보

profile_image
작성자 최고관리자
댓글 0 조회 271회 작성일 24-06-08 16:31
작성일 24-06-08 16:31

본문

참고 : https://www.php.net/manual/en/curl.installation.php#124896

httpd.conf 의 아래 부분에 LoadFile 파일 추가

#Listen 12.34.56.78:80

Listen 80

하단에 LoadFile 후 본인 php 경로 입력후 아파치 재시작
 

LoadFile "C:/Server/php-7.4.9/libssh2.dll"
LoadFile "C:/Server/php-7.4.9/libcrypto-1_1-x64.dll"
LoadFile "C:/Server/php-7.4.9/libssl-1_1-x64.dll"

아파치서버를 재시작후 phpinfo()를 해보면 cURL support enabled 된것을 확인할수 있습니다.


추천 0 비추천 0

  • 회사 :
  • 대표 :
  • 주소 :
  • 메일 : admin@mysample.com
  • 사업자 등록번호 :
Copyright © cginjs.com All rights reserved.
notice