php找不到curl_init()怎么解决(curl_init(),php,编程语言)

时间:2024-05-03 00:55:18 作者 : 石家庄SEO 分类 : 编程语言
  • TAG :

php找不到curl_init()的解决办法:1、在php.ini中打开“extension=php_curl.dll”;2、复制相关文件到System32目录下;3、修改Httpd.conf;4、重启apache即可。

php找不到curl_init()怎么解决

本文操作环境:Windows7系统、php5.3版、DELL G3电脑

php找不到curl_init()怎么办?

php5.3.5 (apache windows) 提示Cannot call to undefined function curl_init()解决方法

[ 其他版本类似 ]

我的php环境安装的位置

php找不到curl_init()怎么解决

1.D:\wamp\php\php.ini 打开;extension=php_curl.dll

php找不到curl_init()怎么解决

2.复制 D:\wamp\php\libeay32.dll 和 D:\wamp\php\ssleay32.dll 到C:\Windows\System32目录下

php找不到curl_init()怎么解决

3.Httpd.conf中(最底部),具体位置看你PHP的放置位置了:

增加:LoadFile D:\wamp\php\libeay32.dll

增加:LoadFile D:\wamp\php\ssleay32.dll

LoadModule php5_module D:\wamp\php\php5apache2_2.dll

AddType application/x-httpd-php .php .html .htm .jsp

# configure the path to php.ini

PHPIniDir "D:\wamp\php"

4.重启apache

 </div> <div class="zixun-tj-product adv-bottom"></div> </div> </div> <div class="prve-next-news">
本文:php找不到curl_init()怎么解决的详细内容,希望对您有所帮助,信息来源于网络。
上一篇:Ruby on Rails 3.1 正式版有什么新功能下一篇:

9 人围观 / 0 条评论 ↓快速评论↓

(必须)

(必须,保密)

阿狸1 阿狸2 阿狸3 阿狸4 阿狸5 阿狸6 阿狸7 阿狸8 阿狸9 阿狸10 阿狸11 阿狸12 阿狸13 阿狸14 阿狸15 阿狸16 阿狸17 阿狸18