Call to undefined function curl_init() error with WAMP

后端 未结 4 544
失恋的感觉
失恋的感觉 2021-01-23 11:29

I know that it\'s a very often asked problem, but I\'ve tried all that I found and it still doesn\'t work.

I use WAMP 2.2 on Windows 7 (64 bits), and PHP 5.4.3. When I c

4条回答
  •  醉梦人生
    2021-01-23 12:13

    My late reply may be useful to someone.

    During my experience of this issue, I found that none of the suggestions here nor on other forums resolved it.

    In my case I had installed the Wamp folder outside of the Program Files folder, however the php.ini file incorrectly referenced C:\Program Files\wamp in multiple places.

    Therefore, amending the path in php.ini in several places resolved my issue.

    To achieve this:

    • Load php.ini into your favourite text editor
    • Search for each instance of "Program Files"
    • Update the filepath for each one
    • Save the changes to make them permanent.

提交回复
热议问题