I have installed Wkhtmltopdf and I have this error when I execute him "/var/chroot/wkhtmltox-jessie-amd64: Permission denied". I search in Google but I have not found how to do ... repertory have this permission "drwxr-xr-x root root" and i execute him in web-server (apache) and Symfony.
Error :
The exit status code '126' says something went wrong: stderr: "sh: 1: /var/chroot/wkhtmltox-jessie-amd64: Permission denied " stdout: ""
Can you help me ?
chmod 777 /var/chroot/wkhtmltox-jessie-amd64
or change ownership to apache user:chown apache.apache /var/chroot/wkhtmltox-jessie-amd64
– Miro