Hello, I’m making a word document with PHPword and storing it at public/actas (storage symlink)
After the docx is created, I’m trying to export to pdf, to get the .docx and .pdf in the same directory, this way
exec(" “C:/Program Files/LibreOffice/program/soffice.exe” --convert-to pdf --outdir C:\laragon\www\sgequipos\storage\app\public\actas C:\laragon\www\sgequipos\storage\app\public\actas"".$nombre_doc." --headless")
I get no errors, no nothing.
It works in CMD, but not in browser. I also tried to make a tmp folder on www\sgequipos\tmp with 777 permissions and changing it on the exec first route or making the home userdir to sgequipos/tmp and keeping all the docs on tmp… but I get 0 result. I tried this things from a older posts in here, maybe I’m not doing it right.
Any help? Thanks
This question references the spanish version: Laragon and LibreOffice