试图调用函数"curl_init".来自名称空间"Buzz \ Client" [英] Attempted to call function "curl_init" from namespace "Buzz\Client"

查看:71
本文介绍了试图调用函数"curl_init".来自名称空间"Buzz \ Client"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置一个Facebook登录名(HWIOAuthBundle symfony2),但这是我得到的错误尝试从名称空间"Buzz \ Client"调用函数"curl_init".有解决方案吗?

I'm trying to set a facebook login (HWIOAuthBundle symfony2 ) but this is the error that i get Attempted to call function "curl_init" from namespace "Buzz\Client". Any solution ?

推荐答案

我遇到了同样的问题,我发现在服务器上安装php7后出现了问题.我的Apache仍在使用php5库,并且为php5删除了curl和为php7删除了ok.检出由网络服务器执行的phpinfo()的输出

Hi i've got the same problem and i found out that it was a problem after installing php7 on my server. My apache was still using php5 library and curl was remove for php5 and ok for php7. checkout the output of phpinfo() execute by the webserver

这篇关于试图调用函数"curl_init".来自名称空间"Buzz \ Client"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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