Closed (fixed)
Project:
Video
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Sep 2008 at 14:57 UTC
Updated:
11 May 2010 at 22:32 UTC
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
Comment #1
azoho commentedsubscribing
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
Comment #2
hypertext200I'm working on this to figure out is there any way to skip from passthru()
Comment #3
hypertext200Can 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.
Comment #4
hypertext200These links will helpful if your in safemode.
http://www.php.net/manual/en/ini.sect.safe-mode.php#ini.safe-mode-exec-dir
http://www.php.net/manual/en/function.escapeshellcmd.php
Comment #5
hypertext200Comment #6
zottmann commentedHi!
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.
Comment #7
hypertext200passthru() 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.
Comment #8
glen201 commentedI 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
Comment #9
iLLin commented