barryvdh / laravel-snappy

Laravel Snappy PDF
MIT License
2.63k stars 290 forks source link

Even though I run the command chmod +x /usr/local/bin/wkhtmltopdf, I got permission error #457

Closed aknEvrnky closed 2 years ago

aknEvrnky commented 2 years ago

The exit status code '126' says something went wrong: stderr: "sh: /usr/local/bin/wkhtmltopdf: Permission denied ". This is what I get the error. I'm using plesk@centos 7 machine. I've installed wkhtmltopdf through yum install. I've run chmod +x command, chown user wkhtmltopdf command, rebooted the machine but still can't use the program.

alexhackney commented 2 years ago

@aknEvrnky what happens when you run

/usr/local/bin/wkhtmltopdf -V

On the server?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/KnpLabs/snappy instead. When having doubts, please try to reproduce the issue with just snappy. If you believe this is an actual issue with the latest version of laravel-snappy, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.