www/php-fpm - The NetBSD Packages Collection

FPM interface for PHP7.4

PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
implementation with some additional features useful for sites
of any size, especially busier sites.

These features include:

* Adaptive process spawning (NEW!)
* Basic statistics (ala Apache's mod_status) (NEW!)
* Advanced process management with graceful stop/start
* Ability to start workers with different uid/gid/chroot/environment
  and different php.ini (replaces safe_mode)
* Stdout & stderr logging
* Emergency restart in case of accidental opcode cache destruction
* Accelerated upload support
* Support for a "slowlog"
* Enhancements to FastCGI, such as fastcgi_finish_request() - a special
  function to finish request & flush all data while continuing to do
  something time-consuming (video converting, stats processing, etc.)

... and much more.

It was not designed with virtual hosting in mind (large amounts of pools)
however it can be adapted for any usage model.

Build dependencies

pkgtools/cwrappers devel/libtool-base devel/pkgconf

Runtime dependencies

devel/pcre2 textproc/libxml2 devel/readline lang/php74 devel/pcre2 textproc/libxml2 devel/readline lang/php74

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfphp56-fpm-5.6.40nb7.tgz
NetBSD 8.0earmv7hfphp73-fpm-7.3.33nb7.tgz
NetBSD 8.0earmv7hfphp74-fpm-7.4.26nb7.tgz
NetBSD 8.0earmv7hfphp80-fpm-8.0.13nb7.tgz
NetBSD 8.0earmv7hfphp56-fpm-5.6.40nb5.tgz
NetBSD 8.0earmv7hfphp73-fpm-7.3.27nb5.tgz
NetBSD 8.0earmv7hfphp74-fpm-7.4.16nb5.tgz
NetBSD 8.0earmv7hfphp80-fpm-8.0.3nb5.tgz
NetBSD 8.0earmv7hfphp56-fpm-5.6.40nb6.tgz
NetBSD 8.0earmv7hfphp73-fpm-7.3.29nb6.tgz
NetBSD 8.0earmv7hfphp74-fpm-7.4.21nb6.tgz
NetBSD 8.0earmv7hfphp80-fpm-8.0.8nb6.tgz
NetBSD 8.0i386php56-fpm-5.6.40nb5.tgz
NetBSD 8.0i386php73-fpm-7.3.27nb5.tgz
NetBSD 8.0i386php74-fpm-7.4.16nb5.tgz
NetBSD 8.0i386php80-fpm-8.0.3nb5.tgz
NetBSD 8.0i386php56-fpm-5.6.40nb6.tgz
NetBSD 8.0i386php73-fpm-7.3.29nb6.tgz
NetBSD 8.0i386php74-fpm-7.4.21nb6.tgz
NetBSD 8.0i386php80-fpm-8.0.8nb6.tgz
NetBSD 8.0powerpcphp56-fpm-5.6.40nb5.tgz
NetBSD 8.0powerpcphp73-fpm-7.3.27nb5.tgz
NetBSD 8.0powerpcphp74-fpm-7.4.16nb5.tgz
NetBSD 8.0powerpcphp80-fpm-8.0.3nb5.tgz
NetBSD 8.0powerpcphp56-fpm-5.6.40nb6.tgz
NetBSD 8.0powerpcphp73-fpm-7.3.28nb6.tgz
NetBSD 8.0powerpcphp73-fpm-7.3.29nb6.tgz
NetBSD 8.0powerpcphp74-fpm-7.4.20nb6.tgz
NetBSD 8.0powerpcphp74-fpm-7.4.21nb6.tgz
NetBSD 8.0powerpcphp80-fpm-8.0.7nb6.tgz
NetBSD 8.0powerpcphp80-fpm-8.0.8nb6.tgz
NetBSD 8.0powerpcphp56-fpm-5.6.40nb6.tgz
NetBSD 8.0powerpcphp73-fpm-7.3.28nb6.tgz
NetBSD 8.0powerpcphp73-fpm-7.3.29nb6.tgz
NetBSD 8.0powerpcphp74-fpm-7.4.20nb6.tgz
NetBSD 8.0powerpcphp74-fpm-7.4.21nb6.tgz
NetBSD 8.0powerpcphp80-fpm-8.0.7nb6.tgz
NetBSD 8.0powerpcphp80-fpm-8.0.8nb6.tgz
NetBSD 8.0powerpcphp56-fpm-5.6.40nb7.tgz
NetBSD 8.0powerpcphp73-fpm-7.3.31nb7.tgz
NetBSD 8.0powerpcphp74-fpm-7.4.24nb7.tgz
NetBSD 8.0powerpcphp80-fpm-8.0.11nb7.tgz
NetBSD 8.0x86_64php56-fpm-5.6.40nb5.tgz
NetBSD 8.0x86_64php73-fpm-7.3.27nb5.tgz
NetBSD 8.0x86_64php74-fpm-7.4.16nb5.tgz
NetBSD 8.0x86_64php80-fpm-8.0.3nb5.tgz
NetBSD 8.0x86_64php56-fpm-5.6.40nb6.tgz
NetBSD 8.0x86_64php73-fpm-7.3.29nb6.tgz
NetBSD 8.0x86_64php74-fpm-7.4.21nb6.tgz
NetBSD 8.0x86_64php80-fpm-8.0.8nb6.tgz
NetBSD 9.0aarch64php56-fpm-5.6.40nb7.tgz
NetBSD 9.0aarch64php73-fpm-7.3.33nb7.tgz
NetBSD 9.0aarch64php74-fpm-7.4.26nb7.tgz
NetBSD 9.0aarch64php80-fpm-8.0.13nb7.tgz
NetBSD 9.0aarch64php56-fpm-5.6.40nb5.tgz
NetBSD 9.0aarch64php73-fpm-7.3.27nb5.tgz
NetBSD 9.0aarch64php74-fpm-7.4.16nb5.tgz
NetBSD 9.0aarch64php80-fpm-8.0.3nb5.tgz
NetBSD 9.0aarch64php56-fpm-5.6.40nb6.tgz
NetBSD 9.0aarch64php73-fpm-7.3.29nb6.tgz
NetBSD 9.0aarch64php74-fpm-7.4.21nb6.tgz
NetBSD 9.0aarch64php80-fpm-8.0.8nb6.tgz
NetBSD 9.0alphaphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0alphaphp73-fpm-7.3.31nb7.tgz
NetBSD 9.0alphaphp73-fpm-7.3.32nb7.tgz
NetBSD 9.0alphaphp74-fpm-7.4.24nb7.tgz
NetBSD 9.0alphaphp74-fpm-7.4.25nb7.tgz
NetBSD 9.0alphaphp80-fpm-8.0.11nb7.tgz
NetBSD 9.0alphaphp80-fpm-8.0.12nb7.tgz
NetBSD 9.0alphaphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0alphaphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0alphaphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0alphaphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0alphaphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0alphaphp73-fpm-7.3.29nb6.tgz
NetBSD 9.0alphaphp74-fpm-7.4.21nb6.tgz
NetBSD 9.0alphaphp80-fpm-8.0.8nb6.tgz
NetBSD 9.0earmphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0earmphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0earmphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0earmphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0earmphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0earmphp73-fpm-7.3.29nb6.tgz
NetBSD 9.0earmphp74-fpm-7.4.21nb6.tgz
NetBSD 9.0earmphp80-fpm-8.0.8nb6.tgz
NetBSD 9.0earmphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0earmv6hfphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0earmv6hfphp73-fpm-7.3.33nb7.tgz
NetBSD 9.0earmv6hfphp74-fpm-7.4.26nb7.tgz
NetBSD 9.0earmv6hfphp80-fpm-8.0.13nb7.tgz
NetBSD 9.0earmv6hfphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0earmv6hfphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0earmv6hfphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0earmv6hfphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0earmv6hfphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0earmv6hfphp73-fpm-7.3.29nb6.tgz
NetBSD 9.0earmv6hfphp74-fpm-7.4.21nb6.tgz
NetBSD 9.0earmv6hfphp80-fpm-8.0.8nb6.tgz
NetBSD 9.0earmv7hfphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0earmv7hfphp73-fpm-7.3.33nb7.tgz
NetBSD 9.0earmv7hfphp74-fpm-7.4.26nb7.tgz
NetBSD 9.0earmv7hfphp80-fpm-8.0.13nb7.tgz
NetBSD 9.0earmv7hfphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0earmv7hfphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0earmv7hfphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0earmv7hfphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0earmv7hfphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0earmv7hfphp73-fpm-7.3.29nb6.tgz
NetBSD 9.0earmv7hfphp74-fpm-7.4.21nb6.tgz
NetBSD 9.0earmv7hfphp80-fpm-8.0.8nb6.tgz
NetBSD 9.0earmv7hfphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0earmv7hfphp73-fpm-7.3.31nb7.tgz
NetBSD 9.0earmv7hfphp74-fpm-7.4.24nb7.tgz
NetBSD 9.0earmv7hfphp80-fpm-8.0.11nb7.tgz
NetBSD 9.0i386php56-fpm-5.6.40nb5.tgz
NetBSD 9.0i386php73-fpm-7.3.27nb5.tgz
NetBSD 9.0i386php74-fpm-7.4.16nb5.tgz
NetBSD 9.0i386php80-fpm-8.0.3nb5.tgz
NetBSD 9.0i386php56-fpm-5.6.40nb6.tgz
NetBSD 9.0i386php73-fpm-7.3.29nb6.tgz
NetBSD 9.0i386php74-fpm-7.4.21nb6.tgz
NetBSD 9.0i386php80-fpm-8.0.8nb6.tgz
NetBSD 9.0i386php56-fpm-5.6.40nb7.tgz
NetBSD 9.0i386php73-fpm-7.3.33nb7.tgz
NetBSD 9.0i386php74-fpm-7.4.26nb7.tgz
NetBSD 9.0i386php80-fpm-8.0.13nb7.tgz
NetBSD 9.0mips64ebphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0mips64ebphp73-fpm-7.3.29nb6.tgz
NetBSD 9.0mips64ebphp74-fpm-7.4.21nb6.tgz
NetBSD 9.0mips64ebphp80-fpm-8.0.8nb6.tgz
NetBSD 9.0mips64ebphp56-fpm-5.6.40nb4.tgz
NetBSD 9.0mips64ebphp72-fpm-7.2.33nb4.tgz
NetBSD 9.0mips64ebphp73-fpm-7.3.22nb4.tgz
NetBSD 9.0mips64ebphp74-fpm-7.4.10nb4.tgz
NetBSD 9.0mips64ebphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0mips64ebphp72-fpm-7.2.34nb5.tgz
NetBSD 9.0mips64ebphp73-fpm-7.3.25nb5.tgz
NetBSD 9.0mips64ebphp74-fpm-7.4.13nb5.tgz
NetBSD 9.0mips64ebphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0mips64ebphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0mips64ebphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0mips64ebphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0mips64ebphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0mips64ebphp73-fpm-7.3.31nb7.tgz
NetBSD 9.0mips64ebphp74-fpm-7.4.24nb7.tgz
NetBSD 9.0mips64ebphp80-fpm-8.0.11nb7.tgz
NetBSD 9.0mipselphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0mipselphp72-fpm-7.2.34nb5.tgz
NetBSD 9.0mipselphp73-fpm-7.3.25nb5.tgz
NetBSD 9.0mipselphp74-fpm-7.4.13nb5.tgz
NetBSD 9.0mipselphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0mipselphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0mipselphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0mipselphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0powerpcphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0powerpcphp73-fpm-7.3.28nb6.tgz
NetBSD 9.0powerpcphp74-fpm-7.4.20nb6.tgz
NetBSD 9.0powerpcphp80-fpm-8.0.7nb6.tgz
NetBSD 9.0powerpcphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0powerpcphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0powerpcphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0powerpcphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0powerpcphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0powerpcphp73-fpm-7.3.28nb6.tgz
NetBSD 9.0powerpcphp74-fpm-7.4.20nb6.tgz
NetBSD 9.0powerpcphp80-fpm-8.0.7nb6.tgz
NetBSD 9.0powerpcphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0powerpcphp73-fpm-7.3.31nb7.tgz
NetBSD 9.0powerpcphp74-fpm-7.4.24nb7.tgz
NetBSD 9.0powerpcphp80-fpm-8.0.11nb7.tgz
NetBSD 9.0sh3elphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0sh3elphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0sh3elphp72-fpm-7.2.34nb5.tgz
NetBSD 9.0sh3elphp73-fpm-7.3.25nb5.tgz
NetBSD 9.0sh3elphp74-fpm-7.4.13nb5.tgz
NetBSD 9.0sh3elphp56-fpm-5.6.40nb5.tgz
NetBSD 9.0sh3elphp73-fpm-7.3.27nb5.tgz
NetBSD 9.0sh3elphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0sparc64php56-fpm-5.6.40nb6.tgz
NetBSD 9.0sparc64php73-fpm-7.3.29nb6.tgz
NetBSD 9.0sparc64php74-fpm-7.4.21nb6.tgz
NetBSD 9.0sparc64php80-fpm-8.0.8nb6.tgz
NetBSD 9.0sparc64php56-fpm-5.6.40nb5.tgz
NetBSD 9.0sparc64php73-fpm-7.3.27nb5.tgz
NetBSD 9.0sparc64php74-fpm-7.4.16nb5.tgz
NetBSD 9.0sparc64php80-fpm-8.0.3nb5.tgz
NetBSD 9.0sparc64php56-fpm-5.6.40nb7.tgz
NetBSD 9.0sparc64php73-fpm-7.3.31nb7.tgz
NetBSD 9.0sparc64php73-fpm-7.3.32nb7.tgz
NetBSD 9.0sparc64php73-fpm-7.3.33nb7.tgz
NetBSD 9.0sparc64php74-fpm-7.4.24nb7.tgz
NetBSD 9.0sparc64php74-fpm-7.4.25nb7.tgz
NetBSD 9.0sparc64php74-fpm-7.4.26nb7.tgz
NetBSD 9.0sparc64php80-fpm-8.0.11nb7.tgz
NetBSD 9.0sparc64php80-fpm-8.0.12nb7.tgz
NetBSD 9.0sparc64php80-fpm-8.0.13nb7.tgz
NetBSD 9.0sparcphp56-fpm-5.6.40nb6.tgz
NetBSD 9.0sparcphp74-fpm-7.4.21nb6.tgz
NetBSD 9.0sparcphp80-fpm-8.0.8nb6.tgz
NetBSD 9.0sparcphp56-fpm-5.6.40nb4.tgz
NetBSD 9.0sparcphp72-fpm-7.2.33nb4.tgz
NetBSD 9.0sparcphp73-fpm-7.3.23nb4.tgz
NetBSD 9.0sparcphp74-fpm-7.4.10nb4.tgz
NetBSD 9.0sparcphp74-fpm-7.4.11nb4.tgz
NetBSD 9.0sparcphp74-fpm-7.4.16nb5.tgz
NetBSD 9.0sparcphp80-fpm-8.0.3nb5.tgz
NetBSD 9.0sparcphp56-fpm-5.6.40nb7.tgz
NetBSD 9.0sparcphp73-fpm-7.3.31nb7.tgz
NetBSD 9.0sparcphp80-fpm-8.0.11nb7.tgz
NetBSD 9.0x86_64php56-fpm-5.6.40nb6.tgz
NetBSD 9.0x86_64php73-fpm-7.3.29nb6.tgz
NetBSD 9.0x86_64php74-fpm-7.4.21nb6.tgz
NetBSD 9.0x86_64php80-fpm-8.0.8nb6.tgz
NetBSD 9.0x86_64php56-fpm-5.6.40nb7.tgz
NetBSD 9.0x86_64php73-fpm-7.3.32nb7.tgz
NetBSD 9.0x86_64php74-fpm-7.4.25nb7.tgz
NetBSD 9.0x86_64php80-fpm-8.0.12nb7.tgz
NetBSD 9.0x86_64php56-fpm-5.6.40nb5.tgz
NetBSD 9.0x86_64php73-fpm-7.3.27nb5.tgz
NetBSD 9.0x86_64php74-fpm-7.4.16nb5.tgz
NetBSD 9.0x86_64php80-fpm-8.0.3nb5.tgz
NetBSD 9.0x86_64php56-fpm-5.6.40nb6.tgz
NetBSD 9.0x86_64php73-fpm-7.3.28nb6.tgz
NetBSD 9.0x86_64php73-fpm-7.3.29nb6.tgz
NetBSD 9.0x86_64php74-fpm-7.4.20nb6.tgz
NetBSD 9.0x86_64php74-fpm-7.4.21nb6.tgz
NetBSD 9.0x86_64php80-fpm-8.0.7nb6.tgz
NetBSD 9.0x86_64php80-fpm-8.0.8nb6.tgz
NetBSD 9.0x86_64php56-fpm-5.6.40nb7.tgz
NetBSD 9.0x86_64php73-fpm-7.3.31nb7.tgz
NetBSD 9.0x86_64php74-fpm-7.4.24nb7.tgz
NetBSD 9.0x86_64php80-fpm-8.0.11nb7.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

argon2
Enable support for Argon2 password-hashing function.
disable-filter-url
Disable php://filter URL feature.
inet6
Enable support for IPv6.
maintainer-zts
Enable the Zend Thread Safety option for PHP.
php-embed
readline
Enable use of GNU readline library.
ssl
Enable SSL support.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.