KnpLabs / snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage
https://knplabs.com
MIT License
4.4k stars 436 forks source link

Windows: Maximum execution time exceeded #499

Open Shoplifter opened 9 months ago

Shoplifter commented 9 months ago

My Application runs with PHP 8.2.3 Symfony 7.0.3 knplabs/knp-snappy-bundle: 1.10.0 knplabs/knp-snappy: 1.15.0 symfony/process: 7.0.3

creating a pdf file, no matter how simple or small) always runs into an execution timeout. Only on Windows (Windows 11) though, it works on Linux (Ubuntu 18)

it timeouts always at the same spot: https://github.com/symfony/process/blob/7a748478a9c41ed97d69ccd2b1f03318b64d26da/Pipes/WindowsPipes.php#L146

lecneri commented 4 months ago

see if #399 helps. This Comment