php@8.2
8.2.34General-purpose scripting language
Install
brew install php@8.2Details
Sources
Supported platforms
| Architecture | Platforms | Version | Download |
|---|---|---|---|
| Apple Silicon | Golden Gate | 8.2.34 | FileSHA-256bc7ca8044c886089b9e0ada9fe6a55daea0a81e61a92fa434d1061082e35671d |
| Apple Silicon | Tahoe | 8.2.34 | FileSHA-256663677a46fb9d546b5bd79c6cbd6997a73d746e6f751e233a85033ddb2b9d7e0 |
| Apple Silicon | Sequoia | 8.2.34 | FileSHA-25603651859da47e8a920480412e67828af5ff248773e1e1f1db2e0b239822d8a56 |
| ARM64 | Linux | 8.2.34 | FileSHA-2568ace7908d9cc971761e421c28970f6a22fd98f0c1f4c6584d946104acb2b3160 |
| x86_64 | Linux | 8.2.34 | FileSHA-2566028ca83a9c7eec3ef667c93666a46501cd2187040735a18f71b65f90bd71d46 |
Dependencies
- apr
- apr-util
- argon2
- aspell
- autoconf
- curl
- freetds
- gd
- gmp
- icu4c@78
- krb5
- libpq
- libsodium
- libzip
- 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.2/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.2/
