How date.time work on php selector

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • m.rahnev
    Member
    Forum Explorer
    • Mar 2021
    • 42

    #1

    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.
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1219

    #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...