Forum


Replies: 10   Views: 144
Using dompdf with the native conversion plugin

Posted by admin  · 28-10-2024 - 13:28

Hello,

The following error:

PHP Fatal error: Maximum execution time of 30 seconds exceeded

is a PHP error that appears when a script exceeds the maximum time allowed in PHP.
On the following pages, you can read more information about this PHP question:

https://www.php.net/manual/en/function.set-time-limit.php

https://stackoverflow.com/questions/5164930/fatal-error-maximum-execution-time-of-30-seconds-exceeded

As explained in our previous reply, you may need to increase the available memory for PHP or the maximum time a PHP script can run on the PHP settings of the server you are using.

Please note that Dompdf requires significant memory and time to generate a big PDF. Other conversion plugins such as the one based on LibreOffice are faster. On https://www.phpdocx.com/documentation/conversion-plugin are detailed the available conversion plugins and how to configure and use them.

Regards.