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
ohm
post
Post #2





Grupa: Zarejestrowani
Postów: 623
Pomógł: 144
Dołączył: 22.12.2010

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


/etc/php5/apache2/php.ini (o ile używasz apache)
wyszukaj date.timezone, odkomentuj, dodaj Europe/Warsaw i powinno śmigać
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: 9.10.2025 - 16:27