0
我收到此錯誤:如何增加最大執行時間DOMPDF
Maximum execution time of 60 seconds exceeded in dompdf/includes/style.cls.php
,我曾嘗試這種解決方案:
ini_set ('max_execution_time',0);
ini_set('max_execution_time',120);
,但它仍然給我上面的錯誤。
我收到此錯誤:如何增加最大執行時間DOMPDF
Maximum execution time of 60 seconds exceeded in dompdf/includes/style.cls.php
,我曾嘗試這種解決方案:
ini_set ('max_execution_time',0);
ini_set('max_execution_time',120);
,但它仍然給我上面的錯誤。
是否運行在'安全mode'一個老版本的PHP? – RiggsFolly
當我使用$ dompdf-> set_paper(「A3」,「風景」);錯誤不會出現,但一列從pdf中消失,所以我使用'a4',風景,但通過使用最大執行時間錯誤發生。 – nkh
這個問題並不直接關注dompdf。這是一個PHP問題。根據您的託管環境,您可能會也可能不會修改max_execution_time。你能提供你的主機更多的細節? – BrianS