when trying to run exec('convert *.png example.pdf') from php gives me a problem, I created a file with a size in bytes and not functional. It's as if it did not obtain any file.png, however if I go from ssh to the server and run "convert *.png Example.pdf" in the same directory as the file I created example.pdf.
Then I tried this: exec('convert file-0.png example.pdf') and believe me perfectly.
no filter. that if I work exec(echo *)
there is no way to specify the images to add to pdf?
try in php: exec('convert file-0.png, file-1.png example.pdf')

thanks in advance.