解决PHP运行报Call to undefined function curl_init()

1、在php.ini中开启curl扩展

2、在php的目录(E:\ruanjian\wamp64\bin\php\php5.6.25)下,找到libeay32.dll,libssh2.dll,ssleay32.dll这三个文件,复制粘贴到apache的bin目录(E:\ruanjian\wamp64\bin\apache\apache2.4.23\bin)下

3、重启apache,完美解决!

你可能感兴趣的:(解决PHP运行报Call to undefined function curl_init())