首页

安装opensns成功后访问后台报“Call to undefined function Vendorcurl_init()...”错误

标签:php,opensns,SNS社交,错误,安装     发布时间:2016-10-31   

一、问题描述

最近安装开源的php的SNS系统opensns成功后,前台能正常访问,可访问管理后台报出“Call to undefined function Vendor\curl_init()  错误位置 FILE: .../ThinkPHP/Library/Vendor/requester.class.php LINE: 73”的错误,如下图所示

安装opensns成功后访问后台报“Call to undefined function Vendorcurl_init()...”错误

二、解决方法

找到php的安装目录下的php.ini配置文件,将“;extension=php_curl.dll”的分号去掉,开启curl扩展,重启服务,问题解决了

安装opensns成功后访问后台报“Call to undefined function Vendorcurl_init()...”错误