If you run Wkhtmltopdf from the console as root, then everything works fine.
If you switch to the user from which the site is running and PHP, then when you start the Wkhtmltopdf, it issues a Segmentation fault
.
At the same time, if you set su
and the root password, then when Wkhtmltopdf starts , everything works fine.
As I understand it, the user does not have enough rights for Wkhtmltopdf to function normally.
How to expand user rights?