Apache is Present
PHP 7.3.33 is Present
Mod Rewrite module is Present
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 300, it must be at least 7200
Edit the php.ini file
sudo nano /opt/alt/php73/etc/php.ini
Your post_max_size is 1G
Your upload_max_filesize is 1G
Your memory_limit is 512M