PHP date.timezone Problem — CyberPanel - WebHosting Control Panel for OpenLiteSpeed

PHP date.timezone Problem

How to enable PHP date.timezone. Please help me.
PHP version 7.2
Screenshot: phpinfo.php
Screenshot: CMS script


  • hi, how can i set date.timezone for specific website? (not for all sites so that i cannot set in php.ini)
  • Type your comment> @hennaboy said:
    > php.ini
    > uncomment and set the value
    > [Date]
    > ; Defines the default timezone used by the date functions
    > ;
    > ;date.timezone =

    ;date.timezone = "America/New_York"

    But not working
  • You have it "commented" the ";" in front of the line means its not active.
    ;date.timezone = "America/New_York"

    Try this:
    date.timezone = "America/New_York"
  • i try this But still Not Working. Cyberpanel nit changing anything.
Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!