[Solved] Having date() warnings

#1
Hello, i'm new here and have some troubles wit litespeed. I have manged to install lsws on my Debian box but i ahve to much issues and can't handle alone.

This is firs thread related to phpmyadmin and warnings inside. I can see in phpmyadmin

Code:
PHP Warning: date() [<a href='function.date'>function.date</a>]: 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 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/rapidleech.us/templates/plugmod/main.php on line 123
Have to fix it?
 
Last edited:

masood_y

Well-Known Member
#4
I have like this problem in centos 5 32bit (directadmin) and changes in php.ini for date.timezone cannot resolve anything.
 

NiteWave

Administrator
#5
need ensure you have changed the right php.ini first

under document root of problem site, put a phpinfo.php page, access it, to determine which php.ini is loaded.
 
Top