Hello team, i try to export a report to pdf but i get an error : "could not excute phantomjs", i'am using koolreport with symfony. I searched and when i try to execute the $command code in command prompt i get this error : "/var/www/osf-stat/vendor/koolreport/export/bin/phantomjs --ignore-ssl-errors=true /var/www/osf-stat/vendor/koolreport/export/pdf/pdf.js /tmp/60dc98caaa5872.tmp /tmp/60dc98caaa5ca3.pdf eyJmb3JtYXQiOiJhNCIsIm9yaWVudGF0aW9uIjoicG9ydHJhaXQiLCJ6b29tIjoxLjI1LCJkcGkiOjMwMCwiZXhwZWN0ZWRMb2NhdGlvbiI6Imh0dHA6XC9cLzE5Mi4xNjguMS41OFwvaW5kZXgucGhwXC9zdGF0c1wvZG9jdW1lbnRcLzM2XC9leHBvcnQ/ZXhwb3J0VHlwZT1wZGYmaWRFbnQ9MSIsInJlc291cmNlV2FpdGluZyI6MTAwMH0= Auto configuration failed 140404409081472:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type 140404409081472:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244: 140404409081472:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf 140404409081472:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf"
and i i add OPENSSL_CONF=/etc/ssl before i get another error : "source file not found"
i need your help
$report
->run()
->export('ExportPDF')
->pdf([
"format" => $params['document']['format'],
"orientation" => $params['document']['orientation'],
"zoom" => 1.25,
'dpi' => 300
])
->toBrowser('myreport.pdf', true);
Thanks by advance