Checking PHP Time is accurate against external server failed

The System Health check has failed the following test:

FAIL Checking PHP Time is accurate against external server...

This indicates that your servers time is not accurate and may lead to problems.

Solution

We recommend to install NTP software that will ensure your system time is accurate.

Debian Instructions

To install NTP on your server, you can use the following command:

sudo apt install ntp

Then, restart your service with the following command:

systemctl restart ntp

After approximately 30 seconds you can again run the System Health to confirm if the problem is solved.

CentOS Instructions

To install NTP on your server, you can use the following command:

yum install ntp ntpdate

Then, restart your service with the following command:

systemctl start ntpd
systemctl enable ntpd

After approximately 30 seconds you can again run the System Health to confirm if the problem is solved.

  • system health, time
  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

Removing database table prefix to improve stability on older installations

The database table prefix has not been a default for some years now and can often cause issues...

Remove database table prefix

A database table prefix was originally used in the MediaCP software many years ago and has since...

Fast DNS resolution and connection to license server failed test

The System Health check has failed the following test: Fast DNS resolution and connection to...

Got error 28 from storage engine

You may see this errorĀ Got error 28 from storage engine when accessing the Media Control Panel....

OpenVZ virtualization

During the installation or upgrade of MediaCP you might receive the following notice: ERROR:...