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

/opt/alt/php52/etc/php.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 PHP selector option.

You would modify: /etc/cl.selector/php.conf 
Directive = date.timezone 
Default = Asia/Shanghai
Type = Value 
Comment = Change your server's timezone
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。