I have installed the dependencies using composer and done everything according to the github read me instructions files of
WkHtmltoPdf
Laravel-Snappy
Snappy.php
<?php
return array(
'pdf' => array(
'enabled' => false,
'binary' => base_path('vendor\h4cc\wkhtmltopdf-windows\bin\64bit\wkhtmltopdf'),
'timeout' => false,
'options' => array(),
'env' => array(),
),
'image' => array(
'enabled' => true,
'binary' => '/usr/local/bin/wkhtmltoimage',
'timeout' => false,
'options' => array(),
'env' => array(),
),
);
output
The exit status code '1' says something went wrong:
stderr: "'C:\xampp\htdocs\test1\vendor\h4cc\wkhtmltopdf-amd64\bin\wkhtmltopdf-amd64' is not recognized as an internal or external command,
operable program or batch file.
"
stdout: ""
command: C:\xampp\htdocs\test1\vendor\h4cc\wkhtmltopdf-amd64\bin\wkhtmltopdf-amd64 --lowquality
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire