I'm using wkhtmltopdf in my Symfony project and everything is working on my computer. But when I put my project on a CentOS server I'm no longer able to create pdf files.
I'm using this line, but on a linux server .exe files can't be executed:
$snappy = new Pdf($this->get('kernel')->getRootDir() . '/../web/wkhtmltopdf/bin/wkhtmltopdf.exe');
I tried to download the .rpm file for CentOS, but I still have the same errors.