Skip to main content

date_default_timezone_set() function.

Comments

6 comments

  • cPanelMichael
    Hello :) Do you have root access to this server? If so, please post the output from: grep date.timezone /usr/local/lib/php.ini
    Also, which PHP handler are you using (e.g. suPHP, DSO)? Thank you.
    0
  • phild
    Hi, thanks for replying so swiftly. root [/]# grep date.timezone /usr/local/lib/php.ini ; [url=http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone]PHP: Runtime Configuration - Manual date.timezone = America/New_York root [/]# _
    0
  • cPanelMichael
    Hi, Could you provide more information about the other question? [QUOTE]Also, which PHP handler are you using (e.g. suPHP, DSO)?
    Thank you.
    0
  • phild
    Sorry, I only just noticed the second question! Option Configured Value Default PHP Version (.php files) 5 PHP 5 Handler suphp Apache suEXEC on Apache Ruid2 off
    0
  • cPanelMichael
    Try disabling the php.ini files within the account. Ensure you check within the account's root directory, the public_html directory, and any subdirectories that include content from this script. You can disable them by simply renaming them. Thank you.
    0
  • phild
    Brilliant - sorted. Thank you so much. As you can imagine it could probably have affected sales - you made a very important catch. It is greatly appreciated. Great work. All the best Phil.
    0

Please sign in to leave a comment.