The following dependencies must be met for the tube script to run properly:
SERVER DEPENDANCIES
- PHP 5.6 - 7.4 (highest available as of the date of this article) installed as DSO or PHP-FPM. Do not install as FastCGI.
- Ioncube loader, newest version available (make sure it is installed into both PHP running on HTTP and PHP running on CLI. Some systems have separate php.ini files for each of these)
- php-mbstring
- php-mysqli
- php-xml
- FFMPEG with x264 support
- ImageMagick with jpg/png support
- MP4Box (part of GPAC)
- Apache or NGINX
- MySQL 5.6.14 or higher is recommended (or equivalent Percona/MariaDB)
- Youtube-dl (required for tube scraper to work)
- Jpegoptim (recommended, optimizes thumbnails)
PHP SETTINGS
- short_open_tag = On
- Disable open_basedir (or make sure all above dependancy locations are listed in it)
- allow_url_fopen = On
- Make sure shell_exec is not on disabled functions list