Minimum Server Requirements
- Linux-based operating system (Windows is not supported)
- PHP 8.1 for standard installations; PHP 8.1–8.4 for projects using unencoded PHP source code
- ionCube Loader 15 or newer (not required for projects using unencoded PHP source code)
- MySQL 8.0 or newer, or MariaDB 11.6 or newer
- FFmpeg 1.0 or newer with libx264, libavfilter and AAC encoding support (libfaac, libfdk_aac or the native FFmpeg AAC encoder)
- ImageMagick with WebP and AVIF support
- cURL
- Wget 1.14 or newer
- Apache with mod_rewrite enabled and MultiViews disabled
- Domain name using Latin characters (Punycode is not supported)
- youtube-dl or yt-dlp, if video grabbers are required Use the KVS requirements checker to verify your server configuration: download the test script.
Required PHP Extensions and Settings
- MySQL Improved Extension (mysqli)
- Client URL Library (curl)
- Zlib Compression (zlib)
- SimpleXML
- Image Processing and GD
- Multibyte String (mbstring)
- The disable_functions setting in php.ini must not include exec
- PHP.ini file_uploads on
- PHP.ini post_max_size 100m
- PHP.ini upload_max_filesize 100m
Recommended Configuration
- Memcached + PHP Memcached module
- Nginx configured as a reverse proxy in front of Apache is recommended for faster static-file and video delivery, as well as for KVS content protection. Content protection requires custom rules in the Nginx configuration. Because some cPanel installations do not allow these rules to be modified, we do not recommend using cPanel on servers that will store and deliver video files.
- External PHP caching extensions such as eAccelerator or XCache are not recommended
- Using Suhosin with PHP is not recommended
Requirements for Multi-Server Configurations
The requirements above apply to a basic configuration running on a single physical server. KVS can also use separate servers for video storage and conversion. These server types have different requirements:
- Storage server: PHP; Nginx is recommended
- Conversion server: PHP, FFmpeg and ImageMagick