Laravel- Dompdf超过60秒的最大执行时间 [英] Laravel- Dompdf Maximum execution time of 60 seconds exceeded
本文介绍了Laravel- Dompdf超过60秒的最大执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我转换pdf时出现错误,因为我通过"php artisan serve --port=1000
"运行laravel项目,因此无法正常工作.但是如果我用xampp运行我的laravel项目.没关系.我不知道为什么?给我解释和修理.谢谢
Here is error when i convert pdf, it's not working since i run my laravel project by "php artisan serve --port=1000
". But if i run my laravel project with xampp. it's alright. I don't know why?. Give me explaination and repairs . Thank you
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Maximum execution time of 60 seconds exceeded
推荐答案
在您的控制器文件中增加您的时间限制.在变量下面增加您的时间限制.
Increase Your time limit in your controller file.Below variable to increase your time limit.
set_time_limit(300);
这篇关于Laravel- Dompdf超过60秒的最大执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文