Forum


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

Posted by admin  · 28-10-2024 - 15:44

Hello,

Please note that as explained in our previous reply, 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.

It's not directly related to phpdocx but to the PHP settings you are using and the time taken by the script to finish. This error is not from the font used in the DOCX (although adding new fonts to DOMPDF may increase the time taken to run a script). Logically, if the document is larger, it will take longer to convert.
This same error will appear when running any PHP script that exceeds the maximum execution time of the PHP settings of the server you are using. You need to adjust the PHP settings on your server.

Regards.