KnpLabs / snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage

Home Page:https://knplabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows: Maximum execution time exceeded

Shoplifter opened this issue · comments

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

see if #399 helps. This Comment