Jump to content

shell_exec runs "echo" and "flac", NOT "ffmpeg"


dapaintballer331

Recommended Posts

Today I installed ffmpeg and flac to my server.

I can't get php to run ffmpeg.

 

I tried

echo(shell_exec('echo hi'));

echo(shell_exec('flac'));

echo(shell_exec('ffmpeg'));

 

 

Via command prompt, they all work fine, however php isn't getting data back from ffmpeg.

(I also tried ffmpeg -formats and got to data back)

 

It works on my home server, not on my virtual server that I pay for.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.