This Debian repository provides packages with custom PHP language modules for Nginx Unit built against PHP packages from deb.sury.org. I tried to make building process as transparent as possible - you can check all infrastructure related files in parent GitHub project. Repository is updated for each Nginx Unit release by manual GitHub Actions workflow run.
Currently, the following versions are supported:
- Debian 11 Bullseye: PHP 8.0 , PHP 8.1 and PHP 8.2
- Ensure that
apt
can handle HTTPS Debian repository with GPG signing key:
apt install apt-transport-https ca-certificates gnupg
- Install signing key:
apt-key adv --fetch-keys https://articus.github.io/unit-php/apt.pgp
- Add repository list file:
#For Debian 11
echo "deb https://articus.github.io/unit-php/ bullseye main" > /etc/apt/sources.list.d/unit-php.list
echo "deb-src https://articus.github.io/unit-php/ bullseye main" >> /etc/apt/sources.list.d/unit-php.list
- Install corresponding Nginx Unit Debian repository and deb.sury.org Debian repository (or provide another source for similar named Nginx Unit and PHP packages)
- Install PHP language module package:
#For PHP 8.0
apt update
apt install unit-php8.0
#For PHP 8.1
apt update
apt install unit-php8.1
#For PHP 8.2
apt update
apt install unit-php8.2
Hopefully, this repository will be useful for someone except me.
If you have any suggestions, advices, questions or fixes feel free to submit issue or pull request.