Forum


Replies: 10   Views: 229
Using dompdf with the native conversion plugin
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

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.