Skip to content
Your Hosting Ad Goes Here KBAssets

How to Change PHP Timezone in date.timezone in php.ini in Plesk

Below is a step-by-step guide to change the PHP timezone in Plesk. You can take screenshots at each step to make the process visually clear.

Step 1: Log In to Plesk

  • Open your Plesk control panel using your username and password.
  • Screenshot: Capture the login screen.

Step 2: Go to Websites & Domains

  • On the left navigation bar, click on “Websites & Domains”.
  • Locate the domain you wish to configure.

Step 3: Open PHP Settings

  • Under the domain’s section, look for and click “PHP Settings”.

Step 4: Place the date.timezone in Additional Directives

  • Scroll through the settings and locate the “Additional directives” section.
  • Add Your Desired Time Zone

Step 5: Update the Timezone

  • Enter your desired timezone value. For example:
date.timezone = "Asia/Kolkata"

Step 6: Save Changes

  • Scroll to the bottom and click “Apply” or “OK” to save the changes.

Conclusion

Following these steps ensures that your PHP timezone is set correctly, aligning your server environment with your desired location. Add screenshots at each step to create a comprehensive and user-friendly guide.

Was this article helpful?
YesNo
Back To Top