PHP exec() does not return result?
Posted on 2009-07-10
After a lot of trying I finally got ffmpeg working on my Windows 2008 machine. I can use it through the DOS cmd line and all seems just fine.
However, when I try to execute the application through exec() in php 5.3 I just get blank pages:
echo exec("d:\ffmpeg\bin\ffmpeg.exe", $aResult);
I added d:\ffmpeg to the open_basedir line in PHP, but that didn't help. Any ideas on this?
Not sure if this could be the problem, but I read something about giving the IIUSRS account execute rights on c:\windows\system32\cmd.exe. However, when I open the security tab in Windows 2008, the "add user/group" button is disabled.
If any other information could help to solve this, please ask!