Skip to main content
Version: 10.3

Introduction

Open iT PHP pages use the PHP time-zone setting defined in the php.ini configuration file. If the configured time zone does not match the machine time zone, timestamps shown in Status Messages or other PHP-based pages may be incorrect.

Configuring PHP Time Zone

Follow this procedure when Open iT PHP pages display timestamps that do not match the server or machine time because PHP is configured with a different time zone.

Step 1: Open the PHP directory

  1. Go to the PHP directory.

    By default, this is located at: C:\Program Files\OpeniT\Core\External\PHP\.

Step 2: Configure the php.ini file

  1. Locate the php.ini file and open it using your preferred text editor.

  2. Locate the date.timezone setting and change its value to the time zone that matches the server's location.

    php.ini
    [PHP]

    engine = On
    memory_limit = -1
    display_errors=false
    expose_php=Off
    date.timezone = "US/Central"
    max_execution_time = 1500
    post_max_size = 2048M
    upload_max_filesize = 2048M
    short_open_tag = On

    For example, for a server located in the Philippines, set date.timezone to Asia/Manila.

    Example: php.ini
    [PHP]

    engine = On
    memory_limit = -1
    display_errors=false
    expose_php=Off
    date.timezone = "Asia/Manila"
    max_execution_time = 1500
    post_max_size = 2048M
    upload_max_filesize = 2048M
    short_open_tag = On
    note

    For a list of valid timezone values, refer to the PHP List of Supported Timezones.

  3. Save the file.

Step 3: Restart the Open iT service

  1. Open the Task Manager.

  2. Go to the Services tab.

  3. Restart the OpeniTReporting.