• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved timestamps in file manager

M_N

Basic Pleskian
Server operating system version
Windows Server 2022
Plesk version and microupdate number
Plesk Obsidian Version 18.0.53 Update #2
The time stamp on a file in file manager shows the last modified time in GMT instead of local time.

It shows correctly on another server with the same version of plesk, but I can't find any setting to control it.

The server time and timezone are correct in plesk and in windows and the timestamp shows correctly when looking at the file in windows file manager.
 
For Linux:
  1. Connect to the server via SSH.
  2. Modify Plesk configuration file php.ini and add timezone like below (set the required timezone):
    # grep zone /usr/local/psa/admin/conf/php.ini
    date.timezone = "<your timezone definition here, e.g. Europe/Berlin>"
  3. Restart Plesk to apply changes:
    # service psa restart
For Windows:
  1. Connect to the server via RDP.
  2. Set correct value in "%plesk_dir%admin\conf\php.ini. For example:
    date.timezone = "Europe/Lisbon"
  3. Restart Plesk Management Service.
 
For Linux:
  1. Connect to the server via SSH.
  2. Modify Plesk configuration file php.ini and add timezone like below (set the required timezone):
    # grep zone /usr/local/psa/admin/conf/php.ini
    date.timezone = "<your timezone definition here, e.g. Europe/Berlin>"
  3. Restart Plesk to apply changes:
    # service psa restart
For Windows:
  1. Connect to the server via RDP.
  2. Set correct value in "%plesk_dir%admin\conf\php.ini. For example:
    date.timezone = "Europe/Lisbon"
  3. Restart Plesk Management Service.
Thank you BUT

In the php.ini file there is a notice that changes to this file will be overwritten by plesk updates

;Note that any changes made to this file will be overwritten when Plesk is updated.
;If you need to make changes to the Plesk PHP settings, we recommend creating a
;file named %plesk_dir%\admin\htdocs\.user.ini and making the necessary edits there.
I went ahead and put the date.timezone setting in .user.ini as described (file did not exist, created a new file) and restarted plesk management service and it is correct now. (had a little scare after restarting the plesk management service, the plesk page would not load, but I restarted the service again and it loaded).

Thank you

(Surprising that there is no setting for this in the plesk UI.)
 
If I remember correctly, only some variables will be changed by Plesk, but not all of the file. What could happen is that with an upgrade of the PHP version that Plesk uses internally, a different php.ini will be used. But let's just wait and see. Now that you know how to solve the issue, this will be very easy to fix should it occur again.
 
Back
Top