Skip to content

uhlhosting/Unit-PHP

Repository files navigation

Build NGINX Unit with PHP Support

NGINX Unit with PHP Support

This repository contains the build configuration for NGINX Unit with support for multiple PHP versions. It utilizes GitHub Actions for automated building and testing, producing separate Debian packages for each specified PHP version.

Supported PHP Versions

  • PHP 7.4
  • PHP 8.0
  • PHP 8.1
  • PHP 8.2
  • PHP 8.3

You can find the detailed support matrix in the official NGINX Unit documentation.

Features

  • Multiple PHP Versions: Provides a separate NGINX Unit build for each supported PHP version, allowing seamless integration with various PHP-based applications.
  • Automated Builds: Utilizes GitHub Actions for automated building, testing, and deployment, ensuring consistent and up-to-date packages.

Building

The build process is handled through GitHub Actions and defined in the build.yml file. Each PHP version has a separate build job that configures and compiles NGINX Unit with the corresponding PHP support.

Dependencies

The build process requires the following dependencies:

  • Build tools (build-essential)
  • PHP development libraries (libphp*-embed)
  • OpenSSL development library (libssl-dev)
  • PCRE2 development library (libpcre2-dev)

Usage

The built NGINX Unit packages are available as GitHub releases and can be downloaded from here. Refer to the official NGINX Unit documentation for instructions on deploying and configuring NGINX Unit with your PHP applications.

License

Please refer to the LICENSE file for details on the project's licensing.

Community

  • The go-to place to start asking questions and share your thoughts is our Slack channel.

  • Our GitHub issues page offers space for a more technical discussion at your own pace.

  • The project map on GitHub sheds some light on our current work and plans for the future.

  • Our official website may provide answers not easily found otherwise.

  • Get involved with the project by contributing! See the contributing guide for details.

  • To reach the team directly, subscribe to the mailing list.

  • For security issues, email us, mentioning NGINX Unit in the subject and following the CVSS v3.1 spec.

Additional Resources