Install this package:
emerge -a dev-lang/php
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 8.6.0 | 8 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos | $(ver_cut 1-2) |
<pkgmetadata>
<maintainer type="project">
<email>php-bugs@gentoo.org</email>
<name>PHP</name>
</maintainer>
<maintainer type="person">
<email>mjo@gentoo.org</email>
<name>Michael Orlitzky</name>
</maintainer>
<use>
<flag name="apparmor">
Support FPM application confinement through
<pkg>sys-libs/libapparmor</pkg>
</flag>
<flag name="argon2">
Enable password hashing algorithm from <pkg>app-crypt/argon2</pkg>
</flag>
<flag name="bcmath">
Enable the BCMath Arbitrary Precision Mathematics extension
</flag>
<flag name="capstone">
Support opcache JIT disassembly through
<pkg>dev-libs/capstone</pkg>
</flag>
<flag name="cli">
Enable the Command-Line Interface (CLI) SAPI
</flag>
<flag name="ctype">
Enable the Character type checking (ctype) extension
</flag>
<flag name="embed">
Enable embed SAPI
</flag>
<flag name="enchant">
Enable the Enchant spelling library extension using
<pkg>app-text/enchant</pkg>
</flag>
<flag name="ffi">
Enable the Foreign Function Interface (FFI) extension using
<pkg>dev-libs/libffi</pkg>
</flag>
<flag name="fileinfo">
Enable the File Information extension
</flag>
<flag name="filter">
Enable the Data Filtering extension
</flag>
<flag name="flatfile">
Add dbm support for flat files
</flag>
<flag name="fpm">
Enable the FastCGI Process Manager SAPI
</flag>
<flag name="gd">
Enable the Image Processing and GD extension (requires
<pkg>media-libs/libjpeg-turbo</pkg> and
<pkg>media-libs/libpng</pkg>)
</flag>
<flag name="ipv6">
Support IPv6 connectivity in fopen and friends, and v6 address
conversions in functions like inet_pton and inet_ntop.
</flag>
<flag name="inifile">
Add dbm support for .ini files
</flag>
<flag name="jit">
Enable PCRE JIT support
</flag>
<flag name="ldap-sasl">
Add SASL support for the PHP LDAP extension using
<pkg>dev-libs/cyrus-sasl</pkg>
</flag>
<flag name="lmdb">
Enable support for <pkg>dev-db/lmdb</pkg> db backend
</flag>
<flag name="intl">
Enables the intl extension for extended internalization support
</flag>
<flag name="opcache">
Enables built-in opcode cache, replacing pecl-apc et al.
</flag>
<flag name="opcache-jit">
Enable Just In Time (JIT) compilation within the opcache extension
</flag>
<flag name="pcntl">
Enable the Process Control extension
</flag>
<flag name="pdo">
Enable the PHP Data Objects extension
</flag>
<flag name="phar">
Enables the phar extension to provide phar archive support
</flag>
<flag name="phpdbg">
Enable the PHP Debug Command Line SAPI (like gdb for php)
</flag>
<flag name="session-mm">
Include <pkg>dev-libs/mm</pkg> support for session storage
</flag>
<flag name="sharedmem">
Enable the shmop extension
</flag>
<flag name="simplexml">
Enable the SimpleXML extension
</flag>
<flag name="sodium">
Enable support for crypto through <pkg>dev-libs/libsodium</pkg>
</flag>
<flag name="sysvipc">
Enable the PHP System-V semaphore, shared memory and IPC extension
</flag>
<flag name="test-full">
Run slower tests
</flag>
<flag name="tokenizer">
Add support for the PHP file parser
</flag>
<flag name="tokyocabinet">
Enable support for <pkg>dev-db/tokyocabinet</pkg> db backend
</flag>
<flag name="xmlreader">
Enable the XMLReader extension
</flag>
<flag name="xmlwriter">
Enable the XMLWriter extension
</flag>
<flag name="xslt">
Build the XSL extension
</flag>
</use>
<upstream>
<remote-id type="github">php/php-src</remote-id>
</upstream>
</pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-lang/php |
euse -E <flag> -p dev-lang/php |
euse -D <flag> -p dev-lang/php
| Flag | Description | 8.6.0 |
|---|---|---|
| ${IUSE} | ⚠️ | ✓ |
| acl | ⚠️ | ✓ |
| apparmor | Support FPM application confinement through <pkg>sys-libs/libapparmor</pkg> | ✓ |
| argon2 | Enable password hashing algorithm from <pkg>app-crypt/argon2</pkg> | ✓ |
| avif | ⚠️ | ✓ |
| bcmath | Enable the BCMath Arbitrary Precision Mathematics extension | ✓ |
| berkdb | ⚠️ | ✓ |
| bzip2 | Enable bzip2 encoder/decoder plugin ⚠️ | ✓ |
| calendar | ⚠️ | ✓ |
| capstone | Support opcache JIT disassembly through <pkg>dev-libs/capstone</pkg> | ✓ |
| cdb | ⚠️ | ✓ |
| ctype | Enable the Character type checking (ctype) extension | ⊕ |
| curl | Enable support for automated uploading of crash reports ⚠️ | ✓ |
| debug | Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. ⚠️ | ✓ |
| enchant | Enable the Enchant spelling library extension using <pkg>app-text/enchant</pkg> | ✓ |
| exif | ⚠️ | ✓ |
| ffi | Enable the Foreign Function Interface (FFI) extension using <pkg>dev-libs/libffi</pkg> | ✓ |
| fileinfo | Enable the File Information extension | ⊕ |
| filter | Enable the Data Filtering extension | ⊕ |
| flatfile | Add dbm support for flat files | ⊕ |
| ftp | ⚠️ | ✓ |
| gd | Enable the Image Processing and GD extension (requires <pkg>media-libs/libjpeg-turbo</pkg> and <pkg>media-libs/libpng</pkg>) | ✓ |
| gdbm | ⚠️ | ✓ |
| gmp | Use dev-libs/gmp for integer operations (works faster, but an external depend). ⚠️ | ✓ |
| iconv | ⚠️ | ⊕ |
| inifile | Add dbm support for .ini files | ✓ |
| intl | Enables the intl extension for extended internalization support | ✓ |
| iodbc | ⚠️ | ✓ |
| ipv6 | Support IPv6 connectivity in fopen and friends, and v6 address conversions in functions like inet_pton and inet_ntop. | ✓ |
| jit | Enable PCRE JIT support | ⊕ |
| jpeg | Enable jpeg image support for the VNC console server ⚠️ | ✓ |
| ldap | ⚠️ | ✓ |
| ldap-sasl | Add SASL support for the PHP LDAP extension using <pkg>dev-libs/cyrus-sasl</pkg> | ✓ |
| libedit | ⚠️ | ✓ |
| lmdb | Enable support for <pkg>dev-db/lmdb</pkg> db backend | ✓ |
| mhash | ⚠️ | ✓ |
| mssql | ⚠️ | ✓ |
| mysql | ⚠️ | ✓ |
| mysqli | ⚠️ | ✓ |
| nls | Build libboost_locale. This library requires compatible C library interfaces, which might not be provided by uClibc or other embedded libraries. ⚠️ | ✓ |
| odbc | ⚠️ | ✓ |
| opcache-jit | Enable Just In Time (JIT) compilation within the opcache extension | ⊕ |
| pcntl | Enable the Process Control extension | ✓ |
| pdo | Enable the PHP Data Objects extension | ✓ |
| phar | Enables the phar extension to provide phar archive support | ⊕ |
| png | Enable png image support for the VNC console server ⚠️ | ✓ |
| posix | ⚠️ | ⊕ |
| postgres | ⚠️ | ✓ |
| qdbm | ⚠️ | ✓ |
| readline | Enable readline support for the Lua command line interpreter ⚠️ | ✓ |
| selinux | Enable SELinux policy support for enhanced security in SELinux-enabled systems. Required for proper operation on systems with SELinux in enforcing mode. ⚠️ | ✓ |
| session | ⚠️ | ⊕ |
| session-mm | Include <pkg>dev-libs/mm</pkg> support for session storage | ✓ |
| sharedmem | Enable the shmop extension | ✓ |
| simplexml | Enable the SimpleXML extension | ⊕ |
| snmp | Add support for <pkg>net-analyzer/net-snmp</pkg> which enables this driver to work over networks (both for server and client) ⚠️ | ✓ |
| soap | ⚠️ | ✓ |
| sockets | ⚠️ | ✓ |
| sodium | Enable support for crypto through <pkg>dev-libs/libsodium</pkg> | ✓ |
| spell | ⚠️ | ✓ |
| sqlite | ⚠️ | ✓ |
| ssl | Enable raop-sink support (needs <pkg>dev-libs/openssl</pkg>) ⚠️ | ✓ |
| systemd | Install the system and user systemd units for the lemond daemon, plus the sysusers.d snippet. Upstream provides no OpenRC service and the units use systemd-only directives, so they are omitted on non-systemd installs. ⚠️ | ✓ |
| sysvipc | Enable the PHP System-V semaphore, shared memory and IPC extension | ✓ |
| test | Build and run the upstream test suite (requires dbus-test-runner) ⚠️ | ✓ |
| test-full | Run slower tests | ✓ |
| tidy | ⚠️ | ✓ |
| tokenizer | Add support for the PHP file parser | ⊕ |
| tokyocabinet | Enable support for <pkg>dev-db/tokyocabinet</pkg> db backend | ✓ |
| truetype | Enable media-libs/freetype support for gapi module ⚠️ | ✓ |
| unicode | ⚠️ | ✓ |
| valgrind | Disable pymalloc when running under <pkg>dev-debug/valgrind</pkg> is detected (may incur minor performance penalty even when valgrind is not used) ⚠️ | ✓ |
| webp | ⚠️ | ✓ |
| xml | Support parsing XML data files needed (at least) for cpu features, memory maps, and syscall tracing ⚠️ | ⊕ |
| xmlreader | Enable the XMLReader extension | ✓ |
| xmlwriter | Enable the XMLWriter extension | ✓ |
| xpm | ⚠️ | ✓ |
| xslt | Build the XSL extension | ✓ |
| zip | ⚠️ | ✓ |
| zlib | ⚠️ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | php-8.6.0.tar.xz | 15148068 bytes | 8.6.0 |
| Type | File | Size |
|---|