Page 1 of 1

Open basedir + ffmpeg xenforo

Posted: Thu Jun 29, 2017 2:15 pm
by realbyx
Hello,

i have 2 problem.

1-) I am using xenforo, i need ffmpeg. How to install this link https://johnvansickle.com/ffmpeg/
2-) How to fix this problem http://prntscr.com/fpm0mw

Re: Open basedir + ffmpeg xenforo

Posted: Thu Jun 29, 2017 5:29 pm
by ScIT
1-) I am using xenforo, i need ffmpeg. How to install this link https://johnvansickle.com/ffmpeg/
Use google :) : https://wiki.debian.org/ffmpeg
2-) How to fix this problem http://prntscr.com/fpm0mw
Copy your template and add the path you want to use:

Code: Select all

cd /usr/local/vesta/data/template/web/apache2
cp default.tpl ffmpeg.tpl
cp default.stpl ffmpeg.stpl
Modify the line openbase_dir line in both templates and add the path you want to access. Then you can choose this new template under vestacp -> web -> your domain -> apache2.

Re: Open basedir + ffmpeg xenforo

Posted: Thu Jun 29, 2017 5:34 pm
by realbyx
ScIT wrote:
1-) I am using xenforo, i need ffmpeg. How to install this link https://johnvansickle.com/ffmpeg/
Use google :) : https://wiki.debian.org/ffmpeg
2-) How to fix this problem http://prntscr.com/fpm0mw
Copy your template and add the path you want to use:

Code: Select all

cd /usr/local/vesta/data/template/web/apache2
cp default.tpl ffmpeg.tpl
cp default.stpl default.stpl
Modify the line openbase_dir line in both templates and add the path you want to access.


I am very new. Please simpler, will you tell me? Thank you very much

Re: Open basedir + ffmpeg xenforo

Posted: Thu Jun 29, 2017 9:07 pm
by realbyx

Code: Select all

file_exists(): open_basedir restriction in effect. File(/usr/bin/ffmpeg) is not within the allowed path(s): (/home/admin/web/dijiteknik.com/public_html:/home/admin/tmp)