最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
windows 下 php curl 的支持配置方法
时间:2022-06-24 23:32:38 编辑:袖梨 来源:一聚教程网
调用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
完成!
windows 7/8/vasta
■You will need to change the extension_dir setting to point to the directory where your extensions lives, or where you have placed your php_*.dll files. For example:
代码如下 | 复制代码 |
extension_dir = C:phpextensions |
■Enable the extension(s) in php.ini you want to use by uncommenting the extension=php_*.dll lines in php.ini. This is done by deleting the leading ; from the extension you want to load.
Example #1 Enable Bzip2 extension for PHP-Windows
代码如下 | 复制代码 |
// change the following line from ... // ... to |
相关文章
- 《1号会员店》关闭自动续费方法 01-29
- 《排球少年:新的征程》社团每日福利领取方法 01-29
- 《椿之歌》新手风属性队伍推荐 01-29
- 《最终幻想14:水晶世界》小小阿托莫斯宠物获得方法 01-29
- 《燕云十六声》醉拳客打法攻略 01-29
- 《异人之下》全货币获取方法汇总 01-29