![]() |
![]() |
![]()
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? |
|
|
![]() |
![]()
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 = |
|
|
![]() ![]() |
![]() |
Aktualny czas: 7.10.2025 - 04:06 |