Home » Questions » Computers [ Ask a new question ]

Command working from terminal but not from PHP

Command working from terminal but not from PHP

I can successfully run an executable from the command line, but when I try to do the same thing from PHP with exec() the outcome is different.

Asked by: Guest | Views: 360
Total answers/comments: 1
Guest [Entry]

I would check the environment variables. Maybe ffmpeg can't find (or can't access due to permission restritions) its resources when you run it from php.