hi,
i am trying to install ffmpeg wrapper (for media mover) and i get:
" warning: passthru() has been disabled for security reasons in /home/xxxxxxx/public_html/xxxxx/sites/all/modules/ffmpeg_wrapper/ffmpeg_wrapper.module on line 261. "
and ffmpeg does not work!!!!
what am i doing wrong?
Comments
Comment #1
arthurf commentedI'm guessing you're on a shared host and they don't allow you to execute shell commands via PHP. Unless you can get them to grant you grater access, you won't be able to get FFmpeg to work unfortunately. What host are you using?
Comment #2
premise commentedi am using CIRETEXHOSTING.
i can upgrade my hosting plan to get ssh access , is that the sulotion?
Comment #3
arthurf commentedWell what is happening is that there is a security measure in PHP that prevents you from executing shell commands from PHP. FFmpeg is run from the shell, so you need to be able to do this. If I were you, I would contact the host and ask them to allow you to do this. Otherwise you should consider switching hosts.
Comment #4
premise commentedthanks,
I'll check it with them...
Comment #5
benced commentedI managed to get rid of the message "passthru() has been disabled for security reasons" by uploading a php.ini file to my drupal installation however the function still doesn't seem to work
I'm just wondering if is there any particular reason why passthru needs to be used?
I am also experiencing this issue on one server I am using and came accross this
http://forum.dreamhosters.com/programming/53586-php-exec-isnt-running-ff...
Tested the function " RunExternal " offered on that page as a standalone script and it seems to work fine where as executing functions normally via php seems to be disabled
Comment #6
azoho commentedsubscribing
Comment #7
arthurf commentedI don't think the post in that forum would work- in the first post, it seems that they have a bad version of FFmpeg, in the suggested fix, they are just using proc_open() which ought to be blocked if passthrough() is. Can you report on php errors when you try the module without modification?