PHP complaints about time zone

Snapdragon

New Member
Joined
Jul 29, 2008
Messages
92
Reaction score
1
Anyone know what function in Asterisk is calling this? I'm thinking it has something to do with our IVR time condition.

Code:
php: /var/lib/asterisk/agi-bin/phpagi-asmanager.php[731]: date(): It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Denver' for 'MDT/-6.0/DST' instead
 
take a look at /etc/php.ini around line 637. change date.timezone to = your time zone. Example:[Date]
; Defines the default timezone used by the date functions
date.timezone = America/Los_Angeles

Bart
 
Very nice. I've set mine to

Code:
date.timezone = America/Edmonton

That should fix it up. Much appreciated! My syslog server spewed about 200 of those errors this morning with the first sales queue call :crazy:
 
NP - it was an easy question... I can handle those :)

Bart
 

Members online

Forum statistics

Threads
26,687
Messages
174,411
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top