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 12 Bookworm: PHP 7.4 , PHP 8.0 , PHP 8.1 , PHP 8.2 , PHP 8.3 and PHP 8.4
- Ensure that
aptcan handle HTTPS Debian repository with GPG signing key:
apt install apt-transport-https ca-certificates gnupg
- Install signing key:
wget --output-document=/etc/apt/keyrings/unit-php.gpg https://articus.github.io/unit-php/apt.gpg chmod 644 /etc/apt/keyrings/unit-php.gpg
- Add repository list file:
#For Debian 12 echo "deb [signed-by=/etc/apt/keyrings/unit-php.gpg] https://articus.github.io/unit-php/ bookworm main" > /etc/apt/sources.list.d/unit-php.list echo "deb-src [signed-by=/etc/apt/keyrings/unit-php.gpg] https://articus.github.io/unit-php/ bookworm 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 7.4 apt update apt install unit-php7.4 #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 #For PHP 8.3 apt update apt install unit-php8.3 #For PHP 8.4 apt update apt install unit-php8.4
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.