Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Błąd CURL - jakie zmiany w php.ini
Mk-Mateusz
post
Post #1





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 7.12.2010

Ostrzeżenie: (0%)
-----


Witam.
Otrzymuję błąd tego typu:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/.../public_html/class.php on line 51

Administrator serwera (cal.pl) poinformował mnie aby dokonał zmian w pliku php.ini i wgrał go do głównego katalogu.

Plik php.ini wyglada tak: LINK do php.ini

Jakie zmiany wprowadzić aby curl zadziałał i nie wywalało tego błędu?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Mk-Mateusz
post
Post #2





Grupa: Zarejestrowani
Postów: 5
Pomógł: 0
Dołączył: 7.12.2010

Ostrzeżenie: (0%)
-----


no tak, w pliku mam:
; Safe Mode
;
safe_mode = Off


i openbase_dir też mam ustawić na OFF??

; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;open_basedir =
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 7.10.2025 - 04:06