= 0) { return true; } else { return false; } } function modRewriteEnabled() { return in_array('mod_rewrite', apache_get_modules()); } function isFFMPEG() { return trim(shell_exec('which ffmpeg')); } function getPathToApplication() { return str_replace("install/index.php", "", $_SERVER["SCRIPT_FILENAME"]); } function getURLToApplication() { $url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; $url = str_replace("install/index.php", "", $url); return $url; } //max_execution_time = 7200 function check_max_execution_time() { $max_size = ini_get('max_execution_time'); $recomended_size = 7200; if ($recomended_size > $max_size) { return false; } else { return true; } } //post_max_size = 100M function check_post_max_size() { $max_size = parse_size(ini_get('post_max_size')); $recomended_size = parse_size('100M'); if ($recomended_size > $max_size) { return false; } else { return true; } } //upload_max_filesize = 100M function check_upload_max_filesize() { $max_size = parse_size(ini_get('upload_max_filesize')); $recomended_size = parse_size('100M'); if ($recomended_size > $max_size) { return false; } else { return true; } } //memory_limit = 100M function check_memory_limit() { $max_size = parse_size(ini_get('memory_limit')); $recomended_size = parse_size('100M'); if ($recomended_size > $max_size) { return false; } else { return true; } } //var_dump($_SERVER);exit; ?> Install YouPHPTube

Your system is installed, remove the install directory to continue
Go to the main page

Logo
is Present
Your server is , you must install Apache
PHP is Present
Your PHP version is , you must install PHP 5.6.x or greater
Mod Rewrite module is Present
Mod Rewrite is not enabled
In order to use mod_rewrite you can type the following command in the terminal:
a2enmod rewrite

Restart apache2 after
/etc/init.d/apache2 restart
FFMPEG is Present
FFmpeg is not enabled
FFmpeg has been removed from Ubuntu 14.04 and was replaced by Libav. This decision has been reversed so that FFmpeg is available now in Ubuntu 15.04 again, but there is still no official package for 14.04. In this tutorial, I will show you how to install FFmpeg from mc3man ppa. Add the mc3man ppa:
If you are not using Ubuntu 14.x go to step 2

Step 1

sudo add-apt-repository ppa:mc3man/trusty-media

And confirm the following message by pressing <enter>:
Also note that with apt-get a sudo apt-get dist-upgrade is needed for initial setup & with some package upgrades More info: https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media Press [ENTER] to continue or ctrl-c to cancel adding it
Update the package list.

                                        sudo apt-get update
                                        sudo apt-get dist-upgrade
                                    

Now FFmpeg is available to be installed with apt:

Step 2

sudo apt-get install ffmpeg
Your videos directory is writable
Your videos directory must be writable
If the video directory does not exists create it!
sudo mkdir videos

Then you can set the permissions.
sudo chmod -R 777 videos
Your max_execution_time is
Your max_execution_time is , it must be at least 7200
Your post_max_size is
Your post_max_size is , it must be at least 100M
Your upload_max_filesize is
Your upload_max_filesize is , it must be at least 100M
Your memory_limit is
Your memory_limit is , it must be at least 100M