zys_jjyy 发表于 2014-11-20 12:55:18

登录后台错误提示Warning: curl_setopt() [function.curl

Warning: curl_setopt() : CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in

昨天还好好的,今天登录就出问题了
前台页面可以正常访问

heaven 发表于 2014-11-20 16:15:47


有可能是由于PHP未开启相关CURL扩展模块

龙在天涯 发表于 2015-1-14 10:32:43


是由于PHP未开启相关CURL扩展模块: 【开启方法】: (一)、WINDOWS环境 1、拷贝PHP目录中的libeay32.dll, ssleay32.dll, php5ts.dll, php_curl.dll文件到 system32 目录。 2、修改php.ini:配置好 extension_dir ,去掉 extension = php_curl.dll 前面的分号。 3、重起apache或者IIS。 测试是否安装成功:   (二)、Linux环境 安装cURL # wgethttp://curl.haxx.se/download/curl-7.17.1.tar.gz # tar -zxf curl-7.17.1.tar.gz # ./configure --prefix=/usr/local/curl # make; make install 安装php 只要打开开关 --with-curl=/usr/local/curl 就可以了。

zhao90 发表于 2015-1-14 15:28:47


嗯 试试
页: [1]
查看完整版本: 登录后台错误提示Warning: curl_setopt() [function.curl