Call to undefined function curl_init() error

前端 未结 5 2071
终归单人心
终归单人心 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

    With PHP 7.2.4 and Apache 2.4.33 both installed on Windows 10x64 I got the same error: call to undefined function curl_init(). php.ini had extensions directory path and the php_curl extension defined and uncommented. Tried suggestions from earlier answers, no go.

    Fixed it by adding my PHP location to system PATH (as C:\php) and restarting httpd (Apache2.4 service in my case).

提交回复
热议问题