Apache/PHP未定义函数curl_init() [英] Apache/PHP undefined function curl_init()

查看:76
本文介绍了Apache/PHP未定义函数curl_init()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在PHP中编译程序时出现此错误消息.我的php.ini文件中有这两行:

I have this error message when I compile my program in PHP. I have these two lines in my php.ini file :

extension =卷曲

extension=curl

extension = C:\ Server \ bin \ PHP \ ext \ php_curl.dll

extension=C:\Server\bin\PHP\ext\php_curl.dll

它仍然不起作用,您能帮我吗?

It still doesn't work, can you help me ?

谢谢

推荐答案

安装后,您将需要重新启动Apache或Nginx.

After installation, you would need to restart either Apache or Nginx.

创建一个独立的info.php页面:

Create a stand alone info.php page:

<?php 
    phpinfo();

搜索页面,您应该会看到类似这样的内容:

Search the page you should see something like this:

cURL support: enabled

这篇关于Apache/PHP未定义函数curl_init()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆