www/php-fpm - The NetBSD Packages Collection

FPM interface for PHP7.3

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/php73 devel/pcre2 textproc/libxml2 devel/readline lang/php73

Available binary packages

aarch64:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
aarch64:php72-fpm-7.2.31nb4.tgz(NetBSD 9.0)
aarch64:php73-fpm-7.3.19nb4.tgz(NetBSD 9.0)
aarch64:php74-fpm-7.4.7nb4.tgz(NetBSD 9.0)
aarch64:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
aarch64:php72-fpm-7.2.34nb4.tgz(NetBSD 9.0)
aarch64:php73-fpm-7.3.23nb4.tgz(NetBSD 9.0)
aarch64:php74-fpm-7.4.11nb4.tgz(NetBSD 9.0)
aarch64:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
aarch64:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
aarch64:php73-fpm-7.3.26nb5.tgz(NetBSD 9.0)
aarch64:php74-fpm-7.4.14nb5.tgz(NetBSD 9.0)
alpha:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
alpha:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
alpha:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
alpha:php72-fpm-7.2.31nb4.tgz(NetBSD 9.0)
alpha:php74-fpm-7.4.7nb4.tgz(NetBSD 9.0)
alpha:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
alpha:php72-fpm-7.2.34nb4.tgz(NetBSD 9.0)
alpha:php73-fpm-7.3.23nb4.tgz(NetBSD 9.0)
alpha:php74-fpm-7.4.11nb4.tgz(NetBSD 9.0)
earm:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
earm:php56-fpm-5.6.40nb3.tgz(NetBSD 9.0)
earm:php72-fpm-7.2.29nb3.tgz(NetBSD 9.0)
earm:php73-fpm-7.3.16nb3.tgz(NetBSD 9.0)
earm:php74-fpm-7.4.4nb3.tgz(NetBSD 9.0)
earmv6hf:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
earmv6hf:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
earmv6hf:php73-fpm-7.3.25nb5.tgz(NetBSD 9.0)
earmv6hf:php73-fpm-7.3.26nb5.tgz(NetBSD 9.0)
earmv6hf:php74-fpm-7.4.13nb5.tgz(NetBSD 9.0)
earmv6hf:php74-fpm-7.4.14nb5.tgz(NetBSD 9.0)
earmv6hf:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
earmv6hf:php72-fpm-7.2.31nb4.tgz(NetBSD 9.0)
earmv6hf:php73-fpm-7.3.19nb4.tgz(NetBSD 9.0)
earmv6hf:php74-fpm-7.4.7nb4.tgz(NetBSD 9.0)
earmv6hf:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
earmv6hf:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
earmv6hf:php72-fpm-7.2.34nb4.tgz(NetBSD 9.0)
earmv6hf:php73-fpm-7.3.22nb4.tgz(NetBSD 9.0)
earmv6hf:php73-fpm-7.3.23nb4.tgz(NetBSD 9.0)
earmv6hf:php74-fpm-7.4.10nb4.tgz(NetBSD 9.0)
earmv6hf:php74-fpm-7.4.11nb4.tgz(NetBSD 9.0)
earmv6hf:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
earmv6hf:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
earmv6hf:php73-fpm-7.3.26nb5.tgz(NetBSD 9.0)
earmv6hf:php74-fpm-7.4.14nb5.tgz(NetBSD 9.0)
earmv7hf:php56-fpm-5.6.40nb5.tgz(NetBSD 8.0)
earmv7hf:php72-fpm-7.2.34nb5.tgz(NetBSD 8.0)
earmv7hf:php73-fpm-7.3.27nb5.tgz(NetBSD 8.0)
earmv7hf:php74-fpm-7.4.15nb5.tgz(NetBSD 8.0)
earmv7hf:php56-fpm-5.6.40nb3.tgz(NetBSD 8.0)
earmv7hf:php72-fpm-7.2.31nb3.tgz(NetBSD 8.0)
earmv7hf:php73-fpm-7.3.18nb3.tgz(NetBSD 8.0)
earmv7hf:php74-fpm-7.4.6nb3.tgz(NetBSD 8.0)
earmv7hf:php56-fpm-5.6.40nb4.tgz(NetBSD 8.0)
earmv7hf:php72-fpm-7.2.33nb4.tgz(NetBSD 8.0)
earmv7hf:php73-fpm-7.3.21nb4.tgz(NetBSD 8.0)
earmv7hf:php74-fpm-7.4.9nb4.tgz(NetBSD 8.0)
earmv7hf:php56-fpm-5.6.40nb4.tgz(NetBSD 8.0)
earmv7hf:php72-fpm-7.2.33nb4.tgz(NetBSD 8.0)
earmv7hf:php73-fpm-7.3.22nb4.tgz(NetBSD 8.0)
earmv7hf:php74-fpm-7.4.10nb4.tgz(NetBSD 8.0)
earmv7hf:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
earmv7hf:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
earmv7hf:php73-fpm-7.3.26nb5.tgz(NetBSD 9.0)
earmv7hf:php74-fpm-7.4.14nb5.tgz(NetBSD 9.0)
earmv7hf:php56-fpm-5.6.40nb3.tgz(NetBSD 9.0)
earmv7hf:php72-fpm-7.2.31nb3.tgz(NetBSD 9.0)
earmv7hf:php73-fpm-7.3.18nb3.tgz(NetBSD 9.0)
earmv7hf:php74-fpm-7.4.6nb3.tgz(NetBSD 9.0)
earmv7hf:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
earmv7hf:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
earmv7hf:php73-fpm-7.3.21nb4.tgz(NetBSD 9.0)
earmv7hf:php74-fpm-7.4.9nb4.tgz(NetBSD 9.0)
earmv7hf:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
earmv7hf:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
earmv7hf:php73-fpm-7.3.22nb4.tgz(NetBSD 9.0)
earmv7hf:php74-fpm-7.4.10nb4.tgz(NetBSD 9.0)
earmv7hf:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
earmv7hf:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
earmv7hf:php73-fpm-7.3.26nb5.tgz(NetBSD 9.0)
earmv7hf:php74-fpm-7.4.14nb5.tgz(NetBSD 9.0)
i386:php56-fpm-5.6.40nb4.tgz(NetBSD 8.0)
i386:php72-fpm-7.2.33nb4.tgz(NetBSD 8.0)
i386:php73-fpm-7.3.21nb4.tgz(NetBSD 8.0)
i386:php74-fpm-7.4.9nb4.tgz(NetBSD 8.0)
i386:php56-fpm-5.6.40nb4.tgz(NetBSD 8.0)
i386:php72-fpm-7.2.34nb4.tgz(NetBSD 8.0)
i386:php73-fpm-7.3.23nb4.tgz(NetBSD 8.0)
i386:php74-fpm-7.4.11nb4.tgz(NetBSD 8.0)
i386:php56-fpm-5.6.40nb5.tgz(NetBSD 8.0)
i386:php72-fpm-7.2.34nb5.tgz(NetBSD 8.0)
i386:php73-fpm-7.3.27nb5.tgz(NetBSD 8.0)
i386:php74-fpm-7.4.15nb5.tgz(NetBSD 8.0)
i386:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
i386:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
i386:php73-fpm-7.3.21nb4.tgz(NetBSD 9.0)
i386:php74-fpm-7.4.9nb4.tgz(NetBSD 9.0)
i386:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
i386:php72-fpm-7.2.34nb4.tgz(NetBSD 9.0)
i386:php73-fpm-7.3.23nb4.tgz(NetBSD 9.0)
i386:php74-fpm-7.4.11nb4.tgz(NetBSD 9.0)
i386:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
i386:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
i386:php73-fpm-7.3.27nb5.tgz(NetBSD 9.0)
i386:php74-fpm-7.4.15nb5.tgz(NetBSD 9.0)
m68k:php74-fpm-7.4.6nb3.tgz(NetBSD 9.0)
mips64eb:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
mips64eb:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
mips64eb:php73-fpm-7.3.22nb4.tgz(NetBSD 9.0)
mips64eb:php74-fpm-7.4.10nb4.tgz(NetBSD 9.0)
mips64eb:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
mips64eb:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
mips64eb:php73-fpm-7.3.25nb5.tgz(NetBSD 9.0)
mips64eb:php74-fpm-7.4.13nb5.tgz(NetBSD 9.0)
powerpc:php56-fpm-5.6.40nb5.tgz(NetBSD 8.0)
powerpc:php72-fpm-7.2.34nb5.tgz(NetBSD 8.0)
powerpc:php73-fpm-7.3.25nb5.tgz(NetBSD 8.0)
powerpc:php74-fpm-7.4.13nb5.tgz(NetBSD 8.0)
powerpc:php56-fpm-5.6.40nb4.tgz(NetBSD 8.0)
powerpc:php72-fpm-7.2.33nb4.tgz(NetBSD 8.0)
powerpc:php73-fpm-7.3.22nb4.tgz(NetBSD 8.0)
powerpc:php74-fpm-7.4.10nb4.tgz(NetBSD 8.0)
powerpc:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
powerpc:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
powerpc:php73-fpm-7.3.22nb4.tgz(NetBSD 9.0)
powerpc:php74-fpm-7.4.10nb4.tgz(NetBSD 9.0)
powerpc:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
powerpc:php72-fpm-7.2.31nb4.tgz(NetBSD 9.0)
powerpc:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
powerpc:php73-fpm-7.3.19nb4.tgz(NetBSD 9.0)
powerpc:php73-fpm-7.3.21nb4.tgz(NetBSD 9.0)
powerpc:php74-fpm-7.4.7nb4.tgz(NetBSD 9.0)
powerpc:php74-fpm-7.4.9nb4.tgz(NetBSD 9.0)
sparc64:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
sparc64:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
sparc64:php73-fpm-7.3.25nb5.tgz(NetBSD 9.0)
sparc64:php73-fpm-7.3.26nb5.tgz(NetBSD 9.0)
sparc64:php74-fpm-7.4.13nb5.tgz(NetBSD 9.0)
sparc64:php74-fpm-7.4.14nb5.tgz(NetBSD 9.0)
sparc64:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
sparc64:php72-fpm-7.2.31nb4.tgz(NetBSD 9.0)
sparc64:php73-fpm-7.3.19nb4.tgz(NetBSD 9.0)
sparc64:php74-fpm-7.4.7nb4.tgz(NetBSD 9.0)
sparc64:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
sparc64:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
sparc64:php72-fpm-7.2.34nb4.tgz(NetBSD 9.0)
sparc64:php73-fpm-7.3.22nb4.tgz(NetBSD 9.0)
sparc64:php73-fpm-7.3.23nb4.tgz(NetBSD 9.0)
sparc64:php74-fpm-7.4.10nb4.tgz(NetBSD 9.0)
sparc64:php74-fpm-7.4.11nb4.tgz(NetBSD 9.0)
sparc:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
sparc:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
sparc:php73-fpm-7.3.23nb4.tgz(NetBSD 9.0)
sparc:php74-fpm-7.4.10nb4.tgz(NetBSD 9.0)
sparc:php74-fpm-7.4.11nb4.tgz(NetBSD 9.0)
sparc:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
sparc:php72-fpm-7.2.31nb4.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
x86_64:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.24nb5.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.12nb5.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
x86_64:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.25nb5.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.13nb5.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.26nb5.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.14nb5.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
x86_64:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.22nb4.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.10nb4.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb4.tgz(NetBSD 8.0)
x86_64:php72-fpm-7.2.34nb4.tgz(NetBSD 8.0)
x86_64:php73-fpm-7.3.23nb4.tgz(NetBSD 8.0)
x86_64:php74-fpm-7.4.11nb4.tgz(NetBSD 8.0)
x86_64:php56-fpm-5.6.40nb4.tgz(NetBSD 8.0)
x86_64:php72-fpm-7.2.33nb4.tgz(NetBSD 8.0)
x86_64:php73-fpm-7.3.21nb4.tgz(NetBSD 8.0)
x86_64:php74-fpm-7.4.9nb4.tgz(NetBSD 8.0)
x86_64:php56-fpm-5.6.40nb5.tgz(NetBSD 8.0)
x86_64:php72-fpm-7.2.34nb5.tgz(NetBSD 8.0)
x86_64:php73-fpm-7.3.27nb5.tgz(NetBSD 8.0)
x86_64:php74-fpm-7.4.15nb5.tgz(NetBSD 8.0)
x86_64:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
x86_64:php72-fpm-7.2.33nb4.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.21nb4.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.9nb4.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb4.tgz(NetBSD 9.0)
x86_64:php72-fpm-7.2.34nb4.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.23nb4.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.11nb4.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
x86_64:php72-fpm-7.2.34nb5.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.27nb5.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.15nb5.tgz(NetBSD 9.0)
x86_64:php56-fpm-5.6.40nb5.tgz(NetBSD 9.0)
x86_64:php73-fpm-7.3.27nb5.tgz(NetBSD 9.0)
x86_64:php74-fpm-7.4.15nb5.tgz(NetBSD 9.0)

Binary packages can be installed with pkgin or pkg_add(1). 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.


[ Go up one level | Go to top of packages tree | List all packages ]