You can set the timezones in Cloud Liunuz by editing the individual versions conf file:

/opt/alt/php52/etc/.ini 
/opt/alt/php53/etc/php.ini 
/opt/alt/php54/etc/php.ini 
/opt/alt/php55/etc/php.ini 

Then just specify the default timezone.

Example: date.timezone = "Asia/Shanghai" 

You can also give your customer the ability to modify it in the selector option.

You would modify: /etc/cl.selector/.conf 
Directive = date.timezone 
Default = Asia/Shanghai
Type = Value 
Comment = Change your server's timezone

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注