Wrong Time Zone

Hi, I was trying to configure the email alerting but it doesn’t work.
Running validation I found the most probable cause

FAIL: Time between this server and the mysql database is off Mysql time 2023-10-21 08:32:38 PHP time 2023-10-21 06:32:38

I changed the timeZone in both php.ini

/etc/php/8.1/fpm/php.ini
/etc/php/8.1/cli/php.ini

Now what I should restart and how?

Thanks

Nothing to restart.

Sorry but still doesn’t work.
I think I should restart php like this:

systemctl restart php8.1-fpm

Do you agree?

Yes, if you are running validate from the web server, restart php-fpm.
I thought you were running it from cli.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.