macOS
brew install php@8.4local Homebrew formula metadata
安装
brew install php@8.4local Homebrew formula metadata
sudo apk add php84Alpine Linux edge package indexes · php84 · 来源: dl-cdn.alpinelinux.org
sudo apt install libapache2-mod-php8.4Debian stable package indexes · libapache2-mod-php8.4 · 来源: deb.debian.org
sudo dnf install phpFedora Rawhide package metadata · php · 来源: dl.fedoraproject.org
nix profile install nixpkgs#phpnixpkgs package indexes · php · 来源: raw.githubusercontent.com
sudo pacman -S phpArch Linux sync databases · php · 来源: geo.mirror.pkgbuild.com
sudo apt install phpUbuntu 24.04 LTS package indexes · php · 来源: archive.ubuntu.com
sudo zypper install php8openSUSE Tumbleweed package metadata · php8 · 来源: download.opensuse.org
winget install --id PHP.PHP.8.4 -eWindows Package Manager source index · PHP.PHP.8.4 · 来源: cdn.winget.microsoft.com
scoop install versions/php84Scoop official bucket manifest trees · bucket/php84.json · 来源: api.github.com
choco install phpChocolatey community package catalog · php · 来源: community.chocolatey.org
概览
General-purpose scripting language
历史
PHP 8.4 is a version-pinned distribution of PHP for applications, extensions, and CI jobs targeting the PHP 8.4 language and ABI.
PHP began with Rasmus Lerdorf's personal CGI tools in 1994 and a public source release in 1995. PHP 3 established the collaborative language project, PHP 4 introduced the Zend Engine, PHP 7 delivered major runtime-performance improvements, and PHP 8 expanded the type system and modern language syntax.
PHP 8.4.0 was released on 21 November 2024.
PHP 8.4 introduced property hooks, asymmetric property visibility, an updated DOM API, and other language and performance work. Property hooks were particularly notable because computed and guarded properties became visible to IDEs and static analyzers as native language constructs.
The versioned Homebrew package provides a stable branch target while the unversioned PHP formula proceeds to newer minor series. Projects use that separation for production parity, framework certification, extension builds, and multi-version CI.
The installed command set covers CLI execution, CGI/FPM web serving, phpdbg debugging, PEAR/PECL workflows, PHAR archives, and native-extension builds using phpize and php-config.
PHP reads php.ini according to the compiled and SAPI-specific search order. CGI/FastCGI installations may additionally apply .user.ini settings in application directories.
The keg-only packaging model permits PHP 8.4 to live alongside other PHP branches. For package maintainers, that means Composer constraints, extension ABI compatibility, deprecations, and framework support can be tested without continually replacing the workstation's only PHP installation.
安全态势
没有找到 php@8.4 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.ini可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:php@8.4 |
|---|---|
| 版本 | 8.4.27 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/php@8.4 |
| 主页 | https://www.php.net/ |
| 上游文档 | https://www.php.net/ |
| 许可证 | 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 |
| 源码归档 | https://www.php.net/distributions/php-8.4.27.tar.xz |
| 最后更新 | 2026-10-25T12:29:56+02:00 |
| Pulse | updated |
| 依赖 | 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 |
| 构建依赖 | httpd, pkgconf |
| macOS 提供的库 | bzip2, libedit, libffi, libxml2, libxslt |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module $HOMEBREW_PREFIX/opt/php@8.4/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.4/ |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | php@8.4 |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
PHP.PHP.8.4
winget install --id PHP.PHP.8.4 -elibapache2-mod-php8.4 8.4.23-1~deb13u1
server-side, HTML-embedded scripting language (Apache 2 module)
sudo apt install libapache2-mod-php8.4libphp8.4-embed 8.4.23-1~deb13u1
HTML-embedded scripting language (Embedded SAPI library)
sudo apt install libphp8.4-embedphp8.4 8.4.23-1~deb13u1
server-side, HTML-embedded scripting language (metapackage)
sudo apt install php8.4php8.4-bcmath 8.4.23-1~deb13u1
Bcmath module for PHP
sudo apt install php8.4-bcmathphp8.4-bz2 8.4.23-1~deb13u1
bzip2 module for PHP
sudo apt install php8.4-bz2php8.4-cgi 8.4.23-1~deb13u1
server-side, HTML-embedded scripting language (CGI binary)
sudo apt install php8.4-cgiphp8.4-cli 8.4.23-1~deb13u1
command-line interpreter for the PHP scripting language
sudo apt install php8.4-cliphp8.4-common 8.4.23-1~deb13u1
documentation, examples and common module for PHP
sudo apt install php8.4-commonphp8.4-curl 8.4.23-1~deb13u1
CURL module for PHP
sudo apt install php8.4-curlphp8.4-dba 8.4.23-1~deb13u1
DBA module for PHP
sudo apt install php8.4-dbaphp8.4-dev 8.4.23-1~deb13u1
Files for PHP8.4 module development
sudo apt install php8.4-devphp8.4-enchant 8.4.23-1~deb13u1
Enchant module for PHP
sudo apt install php8.4-enchantphp8.4-fpm 8.4.23-1~deb13u1
server-side, HTML-embedded scripting language (FPM-CGI binary)
sudo apt install php8.4-fpmphp8.4-gd 8.4.23-1~deb13u1
GD module for PHP
sudo apt install php8.4-gdphp8.4-gmp 8.4.23-1~deb13u1
GMP module for PHP
sudo apt install php8.4-gmp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.