Skip to content
Skip to content

php@8.4

Popular
Formula Utilities v8.4.18

General-purpose scripting language

Install 1 App in Terminal
$
brew install php@8.4
Source: homebrew/core Website Homebrew

Dependencies

Build Dependencies

Installation Notes

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/
Install Statistics 10.3%

Average daily installs by period

Related Utilities Apps

View All
xz
Popular

General-purpose data compression with high compression ratio

formula Utilities v5.8.2
glib
Popular

Core application library for C

formula Utilities v2.86.4
python@3.13
Popular

Interpreted, interactive, object-oriented programming language

formula Utilities v3.13.12
readline
Popular

Library for command-line editing

formula Utilities v8.3.3
gettext
Popular

GNU internationalization (i18n) and localization (l10n) library

formula Utilities v1.0
harfbuzz
Popular

OpenType text shaping engine

formula Utilities v12.3.2
X