Announcement

Collapse
No announcement yet.

How date.time work on php selector

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How date.time work on php selector

    Hi

    How time zone php work on php selector, i try add to /etc/cl.selector/php.conf with this code but php script still says Your PHP environment does not have a valid timezone setting.

    Here my code:

    Code:
    Directive = date.timezone
    
    Default   = Asia/Jakarta
    
    Type      = value
    
    Comment   = Change Timezone.

  • #2
    Hi,

    The /etc/cl.selector/php.conf file contains just available values that could be selected from user side. If you need to set timezone for all accounts and all PHP versions the best will work - global php.ini . Please use this guide: http://docs.cloudlinux.com/index.htm...p_ini_opt.html

    Comment

    Working...
    X