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 - 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.