---
title: "CURLOPT_FOLLOWLOCATION cannot be activated"
url: "https://www.typo3.net/d/94624-curlopt-followlocation-cannot-be-activated"
source: "typo3.net"
tags: ["Allgemein","Frage","PHP","Server & Hosting"]
created: "2009-11-20"
last_reply: "2009-11-21"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# CURLOPT_FOLLOWLOCATION cannot be activated

Allgemein · 2 Antworten · gestartet 2009-11-20

## Eröffnungsbeitrag

**its7** · 2009-11-20 · [Beitrag #1](https://www.typo3.net/d/94624-curlopt-followlocation-cannot-be-activated/1)

Hallo Zusammen,

In einer Extension muss ich die Eigenschaften von Curl einsetzen.
Ich bekomme folgende Fehlermeldeungen:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/vhosts/*.*/httpdocs/typo3conf/ext/*.*/util/class.xtidy.php on line 88

"curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);"

ich habe keinen Zugriff auf AppacheConf oder PHP.INI hat jemand eine Lösung für das Problem?

Mit freundlichen Grüßen
its7

## Antworten

### [#2](https://www.typo3.net/d/94624-curlopt-followlocation-cannot-be-activated/2) · einpraegsam.​net · 2009-11-21

Das Problem scheint hier zu sein:
safe_mode or open_basedir

### [#3](https://www.typo3.net/d/94624-curlopt-followlocation-cannot-be-activated/3) · its7 · 2009-11-21

> **einpraegsam.net schrieb:**
>
> Das Problem scheint hier zu sein:
> safe_mode or open_basedir

Ja ich weiß. wie gesagt, ich habe keinen Zugriff auf Apache Konfiguration oder Php.ini.

das war mein Problem ;)

---

Quelle: „CURLOPT_FOLLOWLOCATION cannot be activated“, typo3.net, https://www.typo3.net/d/94624-curlopt-followlocation-cannot-be-activated
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
