首页 > 代码库 > Win7 64位系统,PHP 扩展 curl方法

Win7 64位系统,PHP 扩展 curl方法

网上给出了很多解决方法都为解决,现分享如下:

win7 64位系统,apache24,PHP5.6.6。
除了将PHP.ini中的;extension=php_curl.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
链接:
http://php.net/manual/zh/curl.installation.php

Win7 64位系统,PHP 扩展 curl方法