macOS
brew install php@8.1local Homebrew formula metadata
sudo port install phpMacPorts ports tree · lang/php/Portfile · Source: api.github.com
brew / rang 1170
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de php@8.1 pour les workflows d'agents IA.
installation
brew install php@8.1local Homebrew formula metadata
sudo port install phpMacPorts ports tree · lang/php/Portfile · Source: api.github.com
sudo apk add php81Alpine Linux edge package indexes · php81 · Source: dl-cdn.alpinelinux.org
sudo apt install phpDebian stable package indexes · php · Source: deb.debian.org
sudo dnf install phpFedora Rawhide package metadata · php · Source: dl.fedoraproject.org
nix profile install nixpkgs#phpnixpkgs package indexes · php · Source: raw.githubusercontent.com
sudo pacman -S phpArch Linux sync databases · php · Source: geo.mirror.pkgbuild.com
sudo zypper install php8openSUSE Tumbleweed package metadata · php8 · Source: download.opensuse.org
winget install --id PHP.PHP.8.1 -eWindows Package Manager source index · PHP.PHP.8.1 · Source: cdn.winget.microsoft.com
scoop install versions/php81Scoop official bucket manifest trees · bucket/php81.json · Source: api.github.com
choco install phpChocolatey community package catalog · php · Source: community.chocolatey.org
aperçu
General-purpose scripting language
Aucun alias exécutable n'a été trouvé dans la base locale des paquets.
historique
PHP 8.1 is a branch-pinned distribution of the PHP general-purpose scripting language, retained for software that depends on the 8.1 language behavior or extension ABI.
PHP began with Rasmus Lerdorf's CGI tools in 1994 and was released publicly in 1995. PHP 3 established the modern language project, PHP 4 introduced the Zend Engine, PHP 5 expanded the object model, PHP 7 delivered major engine-performance work, and PHP 8 began the current language series.
PHP 8.1.0 was released on 25 November 2021 as the second PHP 8 minor series.
PHP 8.1 introduced native enumerations, fibers, readonly properties, intersection types, and first-class callable syntax. Versioned packages let applications retain that language and extension ABI contract while the default PHP package advances.
The package provides the PHP CLI plus CGI, FPM, debugger, PHAR, PEAR/PECL, phpize, and php-config tooling. Typical uses include CLI scripts, Composer tasks, local web runtimes, CI compatibility jobs, and native-extension builds.
PHP reads system and SAPI-specific php.ini files at startup. Web-server configurations may additionally use per-directory .user.ini files; php --ini reports the active search path and loaded configuration.
The Homebrew formula is keg-only, allowing PHP 8.1 to coexist with other PHP branches. This is useful for reproducing older deployment environments, maintaining legacy applications, and testing packages against an exact minor line.
posture de sécurité
Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour php@8.1. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
php.ini.user.iniexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
| Aucune donnée d'exécutable n'était présente. | |||
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:php@8.1 |
|---|---|
| Version | 8.1.34 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/php@8.1 |
| Page d'accueil | https://www.php.net/ |
| Docs amont | https://www.php.net/ |
| Licence | PHP-3.01 |
| Archive source | https://www.php.net/distributions/php-8.1.34.tar.xz |
| Dernière mise à jour | 2026-10-25T12:29:56+02:00 |
| Pulse | updated |
| Dépendances | apr, apr-util, argon2, aspell, autoconf, curl, freetds, gd, gettext, gmp, icu4c@79, krb5, libpq, libsodium, libzip, oniguruma, openldap, openssl@4, pcre2, sqlite, tidy-html5, unixodbc |
| Dépendances de compilation | httpd, pkgconf |
| Bibliothèques fournies par macOS | bzip2, libedit, libffi, libxml2, libxslt |
| Bouteille | disponible (sur arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | declared |
| Précautions | To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module $HOMEBREW_PREFIX/opt/php@8.1/lib/httpd/modules/libphp.so <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> Finally, check DirectoryIndex includes index.php DirectoryIndex index.php index.html The php.ini and php-fpm.ini file can be found in: $HOMEBREW_PREFIX/etc/php/8.1/ |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | php@8.1 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
PHP.PHP.8.1
winget install --id PHP.PHP.8.1 -ephp81 8.1.34-r5
The PHP81 language runtime engine
sudo apk add php81php81-apache2 8.1.34-r5
PHP81 Module for Apache2
sudo apk add php81-apache2php81-bcmath 8.1.34-r5
PHP81 extension: BC Math
sudo apk add php81-bcmathphp81-bz2 8.1.34-r5
PHP81 extension: Bzip2
sudo apk add php81-bz2php81-calendar 8.1.34-r5
PHP81 extension: Calendar
sudo apk add php81-calendarphp81-cgi 8.1.34-r5
PHP81 Common Gateway Interface
sudo apk add php81-cgiphp81-common 8.1.34-r5
The PHP81 language runtime engine (common config)
sudo apk add php81-commonphp81-ctype 8.1.34-r5
PHP81 extension: ctype
sudo apk add php81-ctypephp81-curl 8.1.34-r5
PHP81 extension: cURL
sudo apk add php81-curlphp81-dba 8.1.34-r5
PHP81 extension: DBA
sudo apk add php81-dbaphp81-dev 8.1.34-r5
The PHP81 language runtime engine (development files)
sudo apk add php81-devphp81-doc 8.1.34-r5
The PHP81 language runtime engine (documentation)
sudo apk add php81-docphp81-dom 8.1.34-r5
PHP81 extension: DOM
sudo apk add php81-domphp81-embed 8.1.34-r5
PHP81 Embedded Library
sudo apk add php81-embedphp81-enchant 8.1.34-r5
PHP81 extension: enchant
sudo apk add php81-enchantpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.