php 开启curl_init()方法后无法使用

安装了php之后,在调用curl方法时,报错,打开了php.ini的curl_init模块,重启还有问题。网上看到的解决方法是少了一些dll文件,我电脑上需要的dll文件不少:

I had to also also copy libssh2.dll into my Apache24 folder for this to work with my PHP 5.6.2 installation. So altogether I had to do the following:

Move to Windows\system32 folder:

libssh2.dll, php_curl.dll, ssleay32.dll, libeay32.dll

Move to Apache24\bin folder

libssh2.dll

Uncomment extension=php_curl.dll

你可能感兴趣的:(php 开启curl_init()方法后无法使用)