Call to undefined function curl_init() error

前端 未结 5 2097
终归单人心
终归单人心 2021-01-03 02:17

I am on a Win 64 bit OS, php 5.6.8 using Eclipse PDT to develop PHP.

I have come across this Call to undefined function curl_init() error.

I removed the

5条回答
  •  没有蜡笔的小新
    2021-01-03 03:06

    Have 2 steps:

    1. Go to php.ini and remove ; in line ;extension=curl (in window). With Linux you can find curl to un-comment it.
    2. I download internet 3 files: libeay32.dll, libssh2.dll, ssleay32.dll. And past to {Apache Folder}/bin. Then restart apache.

    You can refer this link if need https://www.php.net/manual/en/curl.installation.php

    It is OK now.

提交回复
热议问题