Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Regenerated password notification and Timezone problem

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
nocwebdesign
Posts: 4
Joined: Wed Feb 05, 2014 6:57 pm

Regenerated password notification and Timezone problem
  • Quote

Post by nocwebdesign » Thu Feb 20, 2014 11:50 am

Hi, when i update a db password by generating a new one, i dont receive another mail so most of the time i can't be sure whats the password. Is there a way to fix that.

My second question is i try to install a script that supports PHP 5.4 i guess. I search the forum and use phpcgi as Apache template. Installation went fine but when i try to reach admin area it gives me this error:

Code: Select all

Error 500
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 the timezone 'UTC' for now, but please set date.timezone to select your timezone."
I try to specify the timezone in php.ini but it doesnt help. What should i do, i'll be glad if you can assist me about this issues.

Thanks.
Top

demian
Posts: 543
Joined: Thu May 16, 2013 5:19 am

Re: Regenerated password notification and Timezone problem
  • Quote

Post by demian » Thu Feb 20, 2014 12:48 pm

put file %userhome%/web/<you site>/cgi-bin/php5-cgi.ini

add directive date.timezone = "you timezone"

or use same directive in .htaccess

Code: Select all

example:

cat /home/admin/web/default.domain/cgi-bin/php5-cgi.ini
date.timezone = "Europe/London"



http://php.net/manual/en/datetime.confi ... e.timezone
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password