Revive Adserver Installation Fails: Warnings about date_default_timezone_get() not being safe rely on the system's timezone settings.
During a new installation of Revive Adserver, Revive Adserver gives an error similar to the following:
To ensure that campaigns & banners start/stop correctly, that date/time based delivery rules work correctly, and that statistics are recorded correctly, Revive Adserver needs to know what the date/time is. It can only do this if:
- The clock on the server hosting Revive Adserver is set to the correct date/time; and
- PHP is correctly configured so that Revive Adserver knows what timezone the date/time of the server is set in.
Accordingly, this warning will be displayed if Revive Adserver detects that you have not configured PHP with the timezone of your server.
- Note that you may need to uncomment the
date.timezonevalue and restart your webserver for the change to come into effect.
- If the changes do not appear to be coming into effect, check using a PHP file containing the
phpinfo()function that you are editing the correct