Hi!

I'm building a Drupal site with the video module, and its working fine in my development machine.

I've moved the site to my hosting provider, and I'm getting the following error whenever I open my home page:

"warning: passthru() has been disabled for security reasons in /home/mostmcom/public_html/mostreodom/modules/video/plugins/video_ffmpeg_helper/video_ffmpeg_helper.module on line 372"

I'm talking to my hosting provider, but apparently they do not intend to enable the passthru() function, and it seems to be a security measure taken by other hosting providers.

Is there a way to configure the video module not to use this function? If not, can it be fixed?

Thanks in Advance,
Carlos.

Comments

azoho’s picture

subscribing

I would like to know a workaround for the need for passthru() function too,
see also this thread for further discussion

http://drupal.org/node/474342

hypertext200’s picture

Assigned: Unassigned » hypertext200

I'm working on this to figure out is there any way to skip from passthru()

hypertext200’s picture

Can you use ini_set() ? Hope your in safe mode, rite? see the function list at safe mode http://www.php.net/manual/en/features.safe-mode.functions.php.

hypertext200’s picture

hypertext200’s picture

Status: Active » Postponed
zottmann’s picture

Hi!

I've configured safe_mode_include_dir at my hosting provider (cirtexhosting), but it didn't work. I've opened a support ticket with them, and was informed that passthru() is disabled in their shared hosts.

If you find a way to run ffmpeg without passthru(), it would be great!!

Regards,
Carlos.

hypertext200’s picture

passthru() only need if your using transcoding ,converting auto thumbnanil using ffmpeg, you can still use module without the ffmpeg, at this moment we required to have passthru(), we will try to have a look in to other execution method, can we user exec() in your shared host? may be it also disable, if exec also disable we cannot do, another thing is ffmpeg need some more processing so move to some good shared host point, this module is a generic module and working with many configurations while few not.

glen201’s picture

I think, in general, if a hosting provider lists ffmpeg and cron as supported, then they support passthru and exec, so that's a good measure. I would think any virtual private server (VPS) with root access (and virtualization) will be configurable to allow the Video module as you "own" the OS.

-- glen

iLLin’s picture

Status: Postponed » Closed (fixed)