Example server requirements for a video site

Date: 2010-06-24

When setting up a video site it's important to properly configure PHP and Apache. See the list below to get a hint on what variables you need to modify to make it work:

GD Library 2


sudo apt-get install php5-gd

Software required

FFmpeg (http://ffmpeg.mplayerhq.hu)
FFmpeg-PHP (http://ffmpeg-php.sourceforge.net)
MEncoder and Mplayer (http://www.mplayerhq.hu)
LAME (http://lame.sourceforge.net)


sudo apt-get install php5-ffmpeg ffmpeg mencoder flvtool2 lame

Recommended PHP Configuration


sudo nano /etc/php5/apache2/php.ini

Make sure to adjust settings to the variables below.

safe_mode = of
max_execution_time = 1000
max_input_time = 1000
open_basedir = (no value)
upload_max_filesize = 200M
post_max_size = 200M
register_argc_argv = On

ubuntudog.com © 2018 | About | Sitemap | Contact