# Installer php@8.4

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de php@8.4 pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:php@8.4
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install php@8.4
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install php
```

  Preuve: MacPorts ports tree: lang/php/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add php84
```

  Preuve: Alpine Linux edge package indexes: php84 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install php8.4
```

  Preuve: Debian stable package indexes: php8.4 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install php
```

  Preuve: Fedora Rawhide package metadata: php from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#php
```

  Preuve: nixpkgs package indexes: php from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S php
```

  Preuve: Arch Linux sync databases: php from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install php
```

  Preuve: Ubuntu 24.04 LTS package indexes: php from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

### Windows

- winget (92%):

```sh
winget install --id PHP.PHP.8.4 -e
```

  Preuve: Windows Package Manager source index: PHP.PHP.8.4 from https://cdn.winget.microsoft.com/cache/source.msix

- Scoop (92%):

```sh
scoop install versions/php84
```

  Preuve: Scoop official bucket manifest trees: bucket/php84.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1

- Chocolatey (92%):

```sh
choco install php
```

  Preuve: Chocolatey community package catalog: php from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','pdfsam.install'

## Faits du paquet

- **Clé du paquet:** brew:php@8.4
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/php@8.4>
- **Version:** 8.4.21
- **Résumé source:** General-purpose scripting language
- **Page d'accueil:** <https://www.php.net/>
- **Docs amont:** <https://www.php.net/>
- **Licence:** 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
- **Archive source:** <https://www.php.net/distributions/php-8.4.21.tar.xz>
- **Mis à jour:** 2026-05-23T15:56:13-04:00
- **Source générée:** 2026-05-26T17:25:59+00:00

## Dépendances

- apr
- apr-util
- argon2
- autoconf
- curl
- freetds
- gd
- gettext
- gmp
- icu4c@78
- libpq
- libsodium
- libzip
- net-snmp
- oniguruma
- openldap
- openssl@3
- pcre2
- sqlite
- tidy-html5
- unixodbc

## Dépendances de compilation

- httpd
- pkgconf

## Bibliothèques fournies par macOS

- bzip2
- libedit
- libffi
- libxml2
- libxslt

## Comportement d'installation

- hook post-installation: défini
- Service: declared
- Caveats: 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/
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## fraîcheur

- page générée: 2026-05-26
- version du gestionnaire: 8.4.21
- gestionnaire mis à jour: 2026-05-23
- données locales: ok
- dépôt amont: https://www.php.net/
- info: Release/tag comparison is only available for GitHub repositories.

## Notes de sécurité

formula declares a Homebrew service. generalized runtime or code generation signal.

- **Risque Geiger:** orange / medium
- formula declares a Homebrew service
- generalized runtime or code generation signal

## Liens liés

- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [sqlite](https://www.automicvault.com/pkg/brew/sqlite/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [gmp](https://www.automicvault.com/pkg/brew/gmp/) - Runtime dependency declared by Homebrew.
- [icu4c@78](https://www.automicvault.com/pkg/brew/icu4c-78/) - Runtime dependency declared by Homebrew.
- [curl](https://www.automicvault.com/pkg/brew/curl/) - Runtime dependency declared by Homebrew.
- [oniguruma](https://www.automicvault.com/pkg/brew/oniguruma/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [httpd](https://www.automicvault.com/pkg/brew/httpd/) - Build dependency declared by Homebrew.
- [phpbrew](https://www.automicvault.com/pkg/brew/phpbrew/) - Popular package that depends on this formula.
- [pickle](https://www.automicvault.com/pkg/brew/pickle/) - Popular package that depends on this formula.
- [php](https://www.automicvault.com/pkg/brew/php/) - Package name indicates the same formula family.
- [php@8.3](https://www.automicvault.com/pkg/brew/php-8-3/) - Package name indicates the same formula family.
- [php@8.2](https://www.automicvault.com/pkg/brew/php-8-2/) - Package name indicates the same formula family.
- [php@8.1](https://www.automicvault.com/pkg/brew/php-8-1/) - Package name indicates the same formula family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
