Changing The Timezone in a Cloud Linux Deployment

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
文章仅展示,不提供购买,下载,请支持正版:http://s.w7.cc/
Yusky » Changing The Timezone in a Cloud Linux Deployment