Author Topic: Installing on shared hosting: datetime.zone  (Read 3089 times)

Offline sulfurito

  • Newbie
  • *
  • Posts: 5
Installing on shared hosting: datetime.zone
« on: March 21, 2013, 09:15:22 AM »
Hello, I'm trying to install Roundcube in a shared hosting and when installing I find NOT OK in:

Code: [Select]
date.timezone:  NOT OK(empty value detected)
I set this value in htaccess but still get the same error so I can't get to install it.

Code: [Select]
php_value date.timezone Europe/Madrid
Also tryied with quotes:

Code: [Select]
php_value date.timezone "Europe/Madrid"
Is it possible than my hosting company is overriding this htaccess or something like that? Is there a way to install without this value? (maybe setting it in some php configuration script)

Thank you

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Installing on shared hosting: datetime.zone
« Reply #1 on: March 22, 2013, 03:57:27 AM »
Its common for shared hosts not to allow you to set php options via a .htaccess try setting it in a php.ini file in the mail  RoundCube folder. You'll also need a copy of the php.ini in the installer directory inorder to run the install.