Hello, when trying to use the FFmpeg wrapper module, I receive the following error.
warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/bin/ffmpeg) is not within the allowed path(s): (/home/hilehost:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/hilehost/public_html/test5/sites/all/modules/ffmpeg_wrapper/ffmpeg_wrapper.module on line 255.
I think this may have to do with some kind of wrong pathway, but am unsure what is going on.
A few notes:
1) on the server I have open_basedir set to: none
2) in php.ini I have: open_basedir=
3) I double checked the tmp folders and moved it to /files/tmp and checked the permission configuration
4) /usr/bin/ffmpeg is where my FlashVideo module connects to FFmpeg, and that works fine
Any ideas? Any help would be greatly appreciated.
Comments
Comment #1
JustinJohnson commentedI think I have this licked now. In WHM under security > security center there is a setting called "PHP open_basedir Tweak" that needed to be disabled (apparently on top of the other php.ini changes I made).
Hope this helps someone.
Comment #2
JustinJohnson commentedComment #4
ñull commentedDoes this affect the functioning of ffmpeg? If so how to avoid it when you don't use WHM?
Comment #5
arthurf commentedIf you're not using open base dir, it should not be an issue so long as apache can execute ffmpeg. You can tell if things are working by looking at admin/settings/ffmpeg and checking if codecs/formats are displayed