lang/php81 - The NetBSD Packages Collection

PHP Hypertext Preprocessor version 8.1

PHP is a widely-used open source general-purpose scripting language
that is especially suited for web development and can be embedded
into HTML.  It is modular, and object-oriented.  Much of its syntax
is borrowed from C, Java and Perl with a couple of unique PHP-specific
features thrown in.  The language is designed to allow web developers
to write dynamically generated pages quickly.

PHP 8.1 comes with numerous improvements and new features such as

* Enumerations
* Readonly properties
* Fibers
* Pure Intersection Types
* never return type
* First-class Callable Syntax
* "final" modifier for class constants
* New fsync and fdatasync functions
* New array_is_list function
* Explicit Octal numeral notation
* And much much more...

Build dependencies

devel/libtool-base pkgtools/mktools devel/autoconf devel/gmake devel/pkgconf pkgtools/cwrappers

Runtime dependencies

textproc/libxml2 devel/pcre2 devel/readline textproc/libxml2 devel/pcre2 devel/readline

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64php-8.1.30.tgz
NetBSD 10.0aarch64php-8.1.29.tgz
NetBSD 10.0aarch64ebphp-8.1.30.tgz
NetBSD 10.0alphaphp-8.1.29.tgz
NetBSD 10.0alphaphp-8.1.30.tgz
NetBSD 10.0earmv6hfphp-8.1.30.tgz
NetBSD 10.0earmv6hfphp-8.1.28.tgz
NetBSD 10.0earmv6hfphp-8.1.29.tgz
NetBSD 10.0earmv7hfphp-8.1.30.tgz
NetBSD 10.0earmv7hfphp-8.1.28.tgz
NetBSD 10.0earmv7hfphp-8.1.29.tgz
NetBSD 10.0earmv7hfphp-8.1.31.tgz
NetBSD 10.0i386php-8.1.30.tgz
NetBSD 10.0i386php-8.1.29.tgz
NetBSD 10.0i386php-8.1.31.tgz
NetBSD 10.0m68kphp-8.1.30.tgz
NetBSD 10.0mips64ebphp-8.1.29.tgz
NetBSD 10.0powerpcphp-8.1.30.tgz
NetBSD 10.0powerpcphp-8.1.23.tgz
NetBSD 10.0powerpcphp-8.1.26.tgz
NetBSD 10.0powerpcphp-8.1.28.tgz
NetBSD 10.0sparc64php-8.1.30.tgz
NetBSD 10.0sparcphp-8.1.30.tgz
NetBSD 10.0x86_64php-8.1.31.tgz
NetBSD 10.0x86_64php-8.1.29.tgz
NetBSD 10.0x86_64php-8.1.30.tgz
NetBSD 9.0aarch64php-8.1.30.tgz
NetBSD 9.0aarch64php-8.1.29.tgz
NetBSD 9.0aarch64php-8.1.31.tgz
NetBSD 9.0alphaphp-8.1.30.tgz
NetBSD 9.0earmv6hfphp-8.1.30.tgz
NetBSD 9.0earmv6hfphp-8.1.28.tgz
NetBSD 9.0earmv6hfphp-8.1.29.tgz
NetBSD 9.0earmv6hfphp-8.1.31.tgz
NetBSD 9.0earmv7hfphp-8.1.30.tgz
NetBSD 9.0earmv7hfphp-8.1.28.tgz
NetBSD 9.0earmv7hfphp-8.1.29.tgz
NetBSD 9.0earmv7hfphp-8.1.31.tgz
NetBSD 9.0i386php-8.1.30.tgz
NetBSD 9.0i386php-8.1.29.tgz
NetBSD 9.0i386php-8.1.31.tgz
NetBSD 9.0powerpcphp-8.1.26.tgz
NetBSD 9.0powerpcphp-8.1.23.tgz
NetBSD 9.0powerpcphp-8.1.27.tgz
NetBSD 9.0sparc64php-8.1.30.tgz
NetBSD 9.0x86_64php-8.1.30.tgz
NetBSD 9.0x86_64php-8.1.29.tgz
NetBSD 9.0x86_64php-8.1.31.tgz
NetBSD 9.3x86_64php-8.1.30.tgz
NetBSD 9.3x86_64php-8.1.31.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.
php-embed
Enable PHP building of embedded SAPI.
readline
Enable use of GNU readline library.
ssl
Enable SSL support.
zts
Enable the Zend Thread Safety option for PHP.

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.