我正在使用laravel-snappy工具进行pdf制作。一切正常,但突然间。它扔'``
This site can’t be reached
The webpage at https://gpschool.dev/acadmic/2/t_c_print might be temporarilydown or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE
my laravel config for snappy.php
返回数组(
'pdf' => array(
'enabled' => true,
'binary' => '"C:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe"',
'timeout' => false,
'options' => array(),
'env' => array(),
),
'image' => array(
'enabled' => true,
'binary' => '"C:\Program Files\wkhtmltopdf\bin\wkhtmltoimage.exe"',
'timeout' => false,
'options' => array(),
'env' => array(),
),
); ```我不知道发生了什么。谢谢
我刚刚遇到这个问题并修复了pr,
对我来说,当我尝试打开'wkhtmltoimage.exe'时,它会丢失.dll,所以我只使用microsoft visual c ++ 2013安装缺少的.dll。
希望能帮助到你