[FFmpeg-user] 500 Internal Server Error

Reindl Harald h.reindl at thelounge.net
Tue Apr 30 14:37:58 CEST 2013



Am 30.04.2013 14:34, schrieb Trupti Thakkar:
> While using ffmpeg with shell_exce , as soon as command run , browser
> redirect to 500 Internal Server Error instead of page that is given.
> 
> Is there any settings required in ffmpeg configurations ?

i assume you mean shell_exec() from PHP

no smart admin out there will enable shell commands on a webserver
because they break any open_basedir configuration and the 500 status
code is a PHP "Fatal error" on a correctly configured webserver which
does not open a info-leak by spit errors to the browser

so you neeed to run ffmpeg via cron-jobs and PHP needs different
"php.ini" for httpd and cli, you need shell access and finally
you need a dedicated server for what you are trying

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130430/8c092d71/attachment.asc>


More information about the ffmpeg-user mailing list