0
votes
1answer
235 views

PHP thinks date.timezone isn't set

For some reason, even though I've uncommented the line in php.ini and properly set the value to date.timezone = America/New_York, php refuses to acknowledge it. When I open up phpinfo.php it says ...
0
votes
1answer
754 views

Changing timezone of server using cPanel / WHM

I have changed time zone of my server to Asia/Kolkata in WHM by going to the following path: Home > Server Configuration > Server Time But still my website is showing timezone as ...
2
votes
2answers
592 views

PHP hits 100% CPU and eats RAM at the same time Monday to Friday

We run a learning platform for primary schools here in the UK and it's all been running extremely well. However at around 4PM Monday to Friday we see the same issue arise -- 1-2 PHP threads will ...
1
vote
3answers
372 views

php.ini date.timezone usefulness?

I'm not sure if this is a question for serverfault or stackoverflow but it seems like it has a lot to do with server config. We have a server in chicago and the server's clock is on chicago time. But ...
5
votes
4answers
5k views

PHP date.timezone warning

I keep getting this error: Message: date() [function.date]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the ...
1
vote
2answers
395 views

change mysql timezone to UK

I want to change mysql default timezone to UK timezone, I have no access to mysql config file. Is there any way that I can do this on query level. So once the query executed then it will save date ...
0
votes
1answer
677 views

How to get PHP date time to use that of the server?

My PHP scripts are currently an hour out due to BST being in operation (GMT+1). Is there a way of setting php.ini's date.timezone to keep the time correct for BST/DST, without having to manually ...
0
votes
2answers
401 views

PHP timezone is not being set by php.ini

In my php.ini I have date.timezone = America/Puerto_Rico but the PHP time is an hour behind. When I look at phpinfo() it says date date/time support enabled "Olson" Timezone Database Version ...
1
vote
1answer
345 views

How to set timezone of PHP and MySQL?

I need to set them to the same timezone.
1
vote
2answers
4k views

PHP Startup: Timezone database is corrupt

I have a CentOS 5.2 server. PHP is now at the 5.2.10 version (php-5.2.10-1.el5.remi.i386), and I have updated to 5.3, tzdata was updated too (tzdata-2009i-2.el5.noarch). Since the update, Apache ...