如何解决Laravel中请求时间和当前时间之间的差异太大了?

时间:2016-09-22 07:21:10

标签: php codeigniter laravel datetime

我正在使用Laravel框架,我将文件上传到Amazon S3服务器。它在12.50中正常工作,我在服务器中更新了同样的东西。但我在服务器中遇到以下错误。

服务器时间为Exception thrown when handling an exception (ErrorException: iconv(): Detected an illegal character in input string) RequestTimeTooSkewedException in NamespaceExceptionFactory.php line 91: The difference between the request time and the current time is too large. ,本地系统时间为'timezone' => 'Asia/Kolkata'

config/app.php

我知道我可以通过更新服务器时间来解决此问题。但我正在寻找仅在Laravel中处理它的方法,因此服务器时间不会对其他项目产生影响。

我尝试在{{1}}中更新{{1}},但它似乎无法正常工作。

0 个答案:

没有答案
相关问题