Author Topic: Roundcube Installation Error dut to .date.time of php.ini  (Read 11947 times)

Offline ketan985

  • Newbie
  • *
  • Posts: 1
Roundcube Installation Error dut to .date.time of php.ini
« on: January 24, 2013, 05:05:48 AM »
I am facing following error on my first installation of roundcube

Checking php.ini/.htaccess settings

The following settings are required to run Roundcube:
file_uploads:  OK
session.auto_start:  OK
zend.ze1_compatibility_mode:  OK
mbstring.func_overload:  OK
suhosin.session.encrypt:  OK
magic_quotes_runtime:  OK
magic_quotes_sybase:  OK
date.timezone:  NOT OK(empty value detected)

The following settings are optional and recommended:
allow_url_fopen:  OK


I modify /etc/php5/apache2/php.ini  as following, restared server but couldn't get success.



[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone = Asia/Calcutta

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: Roundcube Installation Error dut to .date.time of php.ini
« Reply #1 on: January 24, 2013, 11:58:26 AM »
the line
Quote
;date.timezone = Asia/Calcutta
is a comment that is what the ; at the start means. so you need to remove it to make make the directive active. also you need to wrap the string up in quotes because its a string so the line should be:
Quote
date.timezone = "Asia/Calcutta"
. finally once you have done that you will need to restart your web server to load the new config
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦