VPS侦探论坛

 找回密码
 注册
查看: 4654|回复: 1

CURLOPT_FOLLOWLOCATION错误。

[复制链接]
发表于 2013-7-2 11:38:01 | 显示全部楼层 |阅读模式

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

然后安装owncloud。


现在遇到个问题。
  1. 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
复制代码


还有一个小问题。
  1. 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的,为什么这里有这种错误?



谢谢。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-7-2 15:43:28 | 显示全部楼层


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


第二个fileinfo这个php模块没装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-24 19:14 , Processed in 0.030496 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表