Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> brak daty na VPS .., vps z plesk ( centos 6 x86_64 )
ciniutek
post
Post #1





Grupa: Zarejestrowani
Postów: 31
Pomógł: 0
Dołączył: 29.05.2011

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


Witam.
Tak jak w temacie, nie mam daty na serwerze i nie wiem jak ją skonfigurować (IMG:style_emoticons/default/sad.gif)
Proszę o jakąś wskazówkę, z góry dziękuje .

  1. Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' ..........
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
ciniutek
post
Post #2





Grupa: Zarejestrowani
Postów: 31
Pomógł: 0
Dołączył: 29.05.2011

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


Mam takie coś w pliku php.ini :

  1. ; Defines the default timezone used by the date functions
  2. ; <a href="http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone" target="_blank">http://www.php.net/manual/en/datetime.conf...i.date.timezone</a>
  3. ;date.timezone =


wpisałem :

  1. ;date.timezone = Europe/Warsaw

Zresetowałem serwer i jest to samo (IMG:style_emoticons/default/sad.gif)
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: 15.10.2025 - 07:04