Clone from GitHub
For developers and users comfortable with the command line.
git clone https://github.com/detain/phlix-server.git
cd phlix-server
composer install
php server.php start
Open-source media, on your terms.
| Component | Minimum | Recommended |
|---|---|---|
| PHP Version | PHP 8.3+ | PHP 8.3 or higher |
| OS | Linux, macOS, Windows (WSL2) | Linux (Ubuntu 22.04+) |
| Memory | 512 MB RAM | 2 GB RAM |
| Storage | 100 MB (server only) | Depends on media library |
| Dependencies | FFmpeg, MySQL/MariaDB, Composer | |
For developers and users comfortable with the command line.
git clone https://github.com/detain/phlix-server.git
cd phlix-server
composer install
php server.php start
Download the latest release as a zip or tarball.
# Download latest release
curl -L https://github.com/detain/phlix-server/archive/refs/tags/latest.tar.gz
tar -xzf latest.tar.gz
cd phlix-server-latest
composer install
php server.php start
Run Phlix in a container. Great for homelab setups.
# Pull and run
docker pull ghcr.io/detain/phlix-server:latest
docker run -d \
--name phlix \
-p 8080:8080 \
-v /path/to/media:/media \
ghcr.io/detain/phlix-server:latest
Get the latest Phlix server code from GitHub.
Run composer install to fetch PHP dependencies.
Set up MySQL/MariaDB and update config/database.php with your
credentials.
Point Phlix at your media folders in the admin UI or config.
Run php server.php start and open the web UI to start watching.