Logo
Apache is Present
PHP 5.6.32 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
Since YouPHPTube 2.1 we use exiftool to determine if an video is landscape or portrait
In order to install exiftool type the following command in the terminal:
sudo apt install libimage-exiftool-perl
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 max_execution_time is 30, it must be at least 7200
Edit the php.ini file
sudo nano /opt/alt/php56/etc/php.ini
Your post_max_size is 8M, it must be at least 100M
Edit the php.ini file
sudo nano /opt/alt/php56/etc/php.ini
Your upload_max_filesize is 2M, it must be at least 100M
Edit the php.ini file
sudo nano /opt/alt/php56/etc/php.ini
Your memory_limit is 128M, it must be at least 512M
Edit the php.ini file
sudo nano /opt/alt/php56/etc/php.ini