Current time: 11-27-2024, 03:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
FreeBSD 8x ispCP php date.timezone setting
Author Message
outbackdingo Offline
Newbie
*

Posts: 9
Joined: Dec 2008
Reputation: 0
Post: #1
FreeBSD 8x ispCP php date.timezone setting
ok first off, ive gotten ispCP on FreeBSD 8x installed

problem with php apps

Warning: 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 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 'UTC' for 'UTC/0.0/no DST' instead in /usr/local/www/ispcp/gui/admin/index.php on line 129

i edited /usr/local/etc/php.ini

and added

date.timezone = America/New_York

i then stop both apache and all php-cgis

started apache and the error still exists, so where do i fix this
Fixed, BeNe please note to FreeBSD users

that the master php.ini is located in

/usr/local/www/data/fcgi/master/php5
(This post was last modified: 04-28-2010 01:54 PM by outbackdingo.)
04-28-2010 01:43 PM
Find all posts by this user Quote this message in a reply
outbackdingo Offline
Newbie
*

Posts: 9
Joined: Dec 2008
Reputation: 0
Post: #2
RE:FIXED FreeBSD 8x ispCP php date.timezone setting
This is working now
04-28-2010 10:10 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #3
RE: FreeBSD 8x ispCP php date.timezone setting
There is a ticket #2053 but it is not trivial to solv.
04-29-2010 05:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)