We have a LAMP + Lumen API setup in Ubuntu 14.04 in EC2 US-West Oregon. It is used as an API server.
Server: UTC
MySQL configuration is:
mysql> SELECT @@global.time_zone, @@session.time_zone;
+--------------------+---------------------+
| @@global.time_zone | @@session.time_zone |
+--------------------+---------------------+
| +00:00 | +00:00 |
+--------------------+---------------------+
Other test
mysql> SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);
+--------------------------------+
| TIMEDIFF(NOW(), UTC_TIMESTAMP) |
+--------------------------------+
| 00:00:00 |
+--------------------------------+
1 row in set (0.00 sec)
On my.cnf
default_time_zone='+00:00'
Lumen .env configuration
No information about changing timezones
We want to know if we're doing well and if there are other considerations to modify or use a different configuration.
We see this server is not physically in UTC so that's why this came to us.