macOS
brew install php@8.1local Homebrew formula metadata
sudo port install phpMacPorts ports tree · lang/php/Portfile · Quelle: api.github.com
brew / Rang 1170
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für php@8.1 in AI-Agent-Workflows.
Installation
brew install php@8.1local Homebrew formula metadata
sudo port install phpMacPorts ports tree · lang/php/Portfile · Quelle: api.github.com
sudo apk add php81Alpine Linux edge package indexes · php81 · Quelle: dl-cdn.alpinelinux.org
sudo apt install phpDebian stable package indexes · php · Quelle: deb.debian.org
sudo dnf install phpFedora Rawhide package metadata · php · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#phpnixpkgs package indexes · php · Quelle: raw.githubusercontent.com
sudo pacman -S phpArch Linux sync databases · php · Quelle: geo.mirror.pkgbuild.com
sudo zypper install php8openSUSE Tumbleweed package metadata · php8 · Quelle: download.opensuse.org
winget install --id PHP.PHP.8.1 -eWindows Package Manager source index · PHP.PHP.8.1 · Quelle: cdn.winget.microsoft.com
scoop install versions/php81Scoop official bucket manifest trees · bucket/php81.json · Quelle: api.github.com
choco install phpChocolatey community package catalog · php · Quelle: community.chocolatey.org
Überblick
General-purpose scripting language
In der lokalen Paketdatenbank wurden keine Executable-Aliase gefunden.
Verlauf
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.
Sicherheitslage
Für php@8.1 wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
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.iniExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
| Es waren keine Executable-Daten vorhanden. | |||
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:php@8.1 |
|---|---|
| Version | 8.1.34 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/php@8.1 |
| Homepage | https://www.php.net/ |
| Upstream-Dokumentation | https://www.php.net/ |
| Lizenz | PHP-3.01 |
| Quellarchiv | https://www.php.net/distributions/php-8.1.34.tar.xz |
| Zuletzt aktualisiert | 2026-10-25T12:29:56+02:00 |
| Pulse | updated |
| Abhängigkeiten | 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 |
| Build-Abhängigkeiten | httpd, pkgconf |
| Von macOS bereitgestellte Bibliotheken | bzip2, libedit, libffi, libxml2, libxslt |
| Bottle | verfügbar (auf arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | declared |
| Einschränkungen | 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/ |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-enchantQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.