elibyy面临的问题/ tcpdf-laravel

时间:2020-06-12 09:07:56

标签: laravel

I am using elibyy tcpdf in my laravel project for generting pdf. when I generate pdf it with it, it gives error of ,Maximum execution time of 30 seconds exceeded and on error logs

[2020-06-12 08:57:20]本地。错误:超过30秒的最大执行时间{{userId“:1,” exception“:” [object](Symfony \ Component \ Debug \ Exception \ FatalErrorException(代码:1):在A:\ xampp \ htdocs \ sprintech \ ate_calculator \ vendor \ tecnickcom \ tcpdf \ include \ tcpdf_static.php:1216处超过30秒的最大执行时间

1 个答案:

答案 0 :(得分:1)

这是因为您正在从浏览器发出请求。它的最大执行时间为30秒。如果要执行更长的请求,则可能要使用Beanstalkd或其他队列系统。

您可以在Docs

上找到更多信息