php@8.4
8.4.26General-purpose scripting language
Install
brew install php@8.4Details
Sources
Supported platforms
| Architecture | Platforms | Version | Download |
|---|---|---|---|
| Apple Silicon | Golden Gate | 8.4.26 | FileSHA-256a1ef660a4d6799b9f898ea13e5f23df1a230f20b7324c3efc70abb75dc725f2e |
| Apple Silicon | Tahoe | 8.4.26 | FileSHA-2566fe4f570ec56e33a9108101c5e27569fa14112a72e8764a471d6a6e7e457906b |
| Apple Silicon | Sequoia | 8.4.26 | FileSHA-2560b1f604bf9dcd9e7b472323e0ce0c68afc814d09846280a51c7241de37f3b1df |
| ARM64 | Linux | 8.4.26 | FileSHA-256e39fc4f57f964150f6c91089fe3cfa771dab7063df19d3923d056a27e7c5aec9 |
| x86_64 | Linux | 8.4.26 | FileSHA-256b0123cf7a21aaec4a9165cca363440e3657453040e64c9fd69cace1c11faaedf |
Dependencies
- apr
- apr-util
- argon2
- autoconf
- curl
- freetds
- gd
- gmp
- icu4c@78
- libpq
- libsodium
- libzip
- net-snmp
- oniguruma
- openldap
- openssl@3
- pcre2
- sqlite
- tidy-html5
- unixodbc
- gettext
Package data
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/
