macOS
brew install phplocal Homebrew formula metadata
sudo port install phpMacPorts ports tree · lang/php/Portfile · Quelle: api.github.com
brew / Rang 192
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für php in AI-Agent-Workflows.
Installation
brew install phplocal Homebrew formula metadata
sudo port install phpMacPorts ports tree · lang/php/Portfile · Quelle: api.github.com
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
choco install phpChocolatey community package catalog · php · Quelle: community.chocolatey.org
scoop install main/phpScoop official bucket manifest trees · bucket/php.json · Quelle: api.github.com
Überblick
General-purpose scripting language
Verlauf
PHP is an open-source, general-purpose scripting language particularly suited to web development, with an official interpreter implemented primarily in C.
Rasmus Lerdorf created PHP's predecessor in 1994 as C-based CGI binaries and publicly released PHP Tools in June 1995. The project subsequently evolved from personal web utilities into a general-purpose scripting language.
Andi Gutmans and Zeev Suraski rewrote the parser for PHP 3 and later developed the Zend Engine used by PHP 4. PHP 5 introduced Zend Engine 2 and a revised object model; PHP 7 brought Zend Engine 3 and major performance improvements; PHP 8 added features including union types, attributes, named arguments, and an optimizing JIT compiler.
PHP spread with server-rendered web development because it could be embedded in HTML and deployed through common web-server configurations. It grew from a Unix CGI utility into a cross-platform language used by major publishing systems, frameworks, and web applications.
Package-manager installations commonly combine the interpreter with selected extensions, a web-server integration or PHP-FPM, and Composer for project dependencies. This division between system packages and project-local libraries is central to modern PHP deployment.
PHP runs command-line scripts and serves web requests through server modules, CGI/FastCGI, and PHP-FPM. The active primary and scanned INI files are build- and SAPI-dependent and can be inspected with `php --ini`.
System packages supply PHP and compiled extensions, while application libraries are normally declared per project and installed into `vendor` with Composer.
PHP exposes several layers of packaging at once: the interpreter, multiple SAPIs, compiled extensions, version-specific configuration trees, and Composer-managed application libraries.
Its extension ABI boundaries, parallel major releases, PECL history, and CLI/FastCGI/server-module variants make PHP a prominent example of coordination between operating-system and language-level package managers.
Sicherheitslage
formula declares a Homebrew service. generalized runtime or code generation signal.
orange Risiko · mittel Konfidenz · infrastructure
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 |
|---|---|---|---|
pear | cli | globales Executable | |
peardev | cli | globales Executable | |
pecl | cli | globales Executable | |
phar | cli | globales Executable | |
phar.phar | cli | globales Executable | |
php | cli | globales Executable | |
php-cgi | cli | globales Executable | |
php-config | cli | globales Executable | |
php-fpm | cli | globales Executable | |
phpdbg | cli | globales Executable | |
phpize | cli | globales Executable |
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 |
|---|---|
| Version | 8.5.12 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/php |
| Homepage | https://www.php.net/ |
| Repository | https://github.com/php/php-src |
| Upstream-Dokumentation | https://www.php.net/ |
| Lizenz | PHP-3.01 AND Zend-2.0 AND BSL-1.0 AND MIT AND Apache-1.0 AND Apache-2.0 AND bcrypt-Solar-Designer AND BSD-2-Clause-Darwin AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND OLDAP-2.8 AND TCL AND Zlib |
| Quellarchiv | https://www.php.net/distributions/php-8.5.12.tar.xz |
| Zuletzt aktualisiert | 2026-10-25T12:29:56+02:00 |
| Pulse | updated |
| Abhängigkeiten | apr, apr-util, argon2, autoconf, curl, freetds, gd, gettext, gmp, icu4c@79, libpq, libsodium, libzip, net-snmp, 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/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.5/ |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | php |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
php 2:8.4+96
server-side, HTML-embedded scripting language (default)
sudo apt install phpphp
nix profile install nixpkgs#phpphp 2:8.3+93ubuntu2
server-side, HTML-embedded scripting language (default)
sudo apt install phpphp 8.5.10-1.fc46
PHP scripting language for creating dynamic web sites
sudo dnf install phpphp-bcmath 8.5.10-1.fc46
A module for PHP applications for using the bcmath library
sudo dnf install php-bcmathphp-cli 8.5.10-1.fc46
Command-line interface for PHP
sudo dnf install php-cliphp-common 8.5.10-1.fc46
Common files for PHP
sudo dnf install php-commonphp-dba 8.5.10-1.fc46
A database abstraction layer module for PHP applications
sudo dnf install php-dbaphp-dbg 8.5.10-1.fc46
The interactive PHP debugger
sudo dnf install php-dbgphp-devel 8.5.10-1.fc46
Files needed for building PHP extensions
sudo dnf install php-develphp-embedded 8.5.10-1.fc46
PHP library for embedding in applications
sudo dnf install php-embeddedphp-enchant 8.5.10-1.fc46
Enchant spelling extension for PHP applications
sudo dnf install php-enchantphp-ffi 8.5.10-1.fc46
Foreign Function Interface
sudo dnf install php-ffiphp-fpm 8.5.10-1.fc46
PHP FastCGI Process Manager
sudo dnf install php-fpmphp-gd 8.5.10-1.fc46
A module for PHP applications for using the gd graphics library
sudo dnf install php-gdphp-gmp 8.5.10-1.fc46
A module for PHP applications for using the GNU MP library
sudo dnf install php-gmpQuellspur
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.