Home > php教程 > php手册 > windows 下 php curl 的支持配置方法

windows 下 php curl 的支持配置方法

WBOY
Release: 2016-05-25 16:52:11
Original
846 people have browsed it

调用curl_init()函数测试,出现错误提示如下:Fatal error: Call to undefined function: curl_init()

windowsxp 2003

首先保证你的php已经可以使用,本文不讲解windows下的php配置,只是增加curl的扩展。

1、拷贝PHP目录中的libeay32.dll 和 ssleay32.dll 两个文件到 c:/windows/system32 目录。

2、修改php.ini。去掉 extension = php_curl.dll 前面的分号。

3、重启apache,完成!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template