along 发表于 2013-7-2 11:38:01

CURLOPT_FOLLOWLOCATION错误。

默认安装。nginx,php/mysql都是lnmp提供最高的那个,lnmp是1.0。

然后安装owncloud。


现在遇到个问题。
curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set at /home/wwwroot/xxx/xxxxx.../xxx.php

还有一个小问题。
Module 'fileinfo' missingThe PHP module 'fileinfo' is missing. We strongly recommend to enable this module to get best results with mime-type detection.


php探针显示是支持curl的,为什么这里有这种错误?



谢谢。

licess 发表于 2013-7-2 15:43:28

第一个把php.ini里对应域名的open_basedir的去掉


第二个fileinfo这个php模块没装
页: [1]
查看完整版本: CURLOPT_FOLLOWLOCATION错误。