While scratching my head and doing my typical Google sleuthing I was stumped by a silly exception I was getting from AWS when attempting to upload images to S3 through a virtual machine (Vagrant/Virtualbox).

The solution was simple; apparently the virtual machine had lost synch due to idling (…or I honestly don’t know how). So simply resetting the date and updating the default timezones in PHP was sufficient:

Set proper timezone in PHP config(s)
Important: Make sure you set this for *all* your instances of php.ini; /cli/php.ini, /fpm/php.ini, and on and on..

Auto reset the physical date:

Categories: Random


Leave a Reply

Your email address will not be published. Required fields are marked *