php扩展php_curl windows 安装问题

关于安装php扩展php_curl 出现的提示错误,导致php_curl无法安装

apache 错误日志:

PHP Warning:  PHP Startup:  in Unknown on line 0

网上找了很多,依着做都不行。PHP手册里其实已经有处理方法,地址:http://php.net/manual/zh/curl.installation.php。如下:

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

解释:

复制 libssh2.dll, php_curl.dll, ssleay32.dll, libeay32.dll 到  Windows\system32 目录

复制 libssh2.dll 到apache的bin目录

加载 扩展 extension=php_curl.dll.

//来自吠品博客 http://www.cnblogs.com/osfipin/

重启apache.

posted @ 2015-03-26 16:19  osfipin  阅读(868)  评论(0编辑  收藏  举报
我是底部