Also known as: php@8.3
General-purpose scripting language
License: PHP-3.01
Formula JSON API: /api/formula/php.json
Formula code: php.rb
on GitHub
Bottle (binary package) installation support provided for:
Apple Silicon | sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
Intel | sonoma | ✅ |
ventura | ✅ | |
64-bit linux | ✅ |
Current versions:
stable | ✅ | 8.3.13 |
head | ⚡️ | HEAD |
Other versions:
php@8.2 | 8.2.25 | General-purpose scripting language |
php@8.1 | 8.1.30 | General-purpose scripting language |
php@8.0 | 8.0.30 | General-purpose scripting language |
Revision: 1
Depends on:
apr | 1.7.5 | Apache Portable Runtime library |
apr-util | 1.6.3 | Companion library to apr, the Apache Portable Runtime library |
argon2 | 20190702 | Password hashing library and CLI utility |
aspell | 0.60.8.1 | Spell checker with better logic than ispell |
autoconf | 2.72 | Automatic configure script builder |
curl | 8.11.0 | Get a file from an HTTP, HTTPS or FTP server |
freetds | 1.4.23 | Libraries to talk to Microsoft SQL Server and Sybase databases |
gd | 2.3.3 | Graphics library to dynamically manipulate images |
gettext | 0.22.5 | GNU internationalization (i18n) and localization (l10n) library |
gmp | 6.3.0 | GNU multiple precision arithmetic library |
icu4c@76 | 76.1 | C/C++ and Java libraries for Unicode and globalization |
krb5 | 1.21.3 | Network authentication protocol |
libpq | 17.1 | Postgres C API library |
libsodium | 1.0.20 | NaCl networking and cryptography library |
libzip | 1.11.1 | C library for reading, creating, and modifying zip archives |
oniguruma | 6.9.9 | Regular expressions library |
openldap | 2.6.8 | Open source suite of directory software |
openssl@3 | 3.4.0 | Cryptography and SSL/TLS Toolkit |
pcre2 | 10.44 | Perl compatible regular expressions library with a new API |
sqlite | 3.47.0 | Command-line interface for SQLite |
tidy-html5 | 5.8.0 | Granddaddy of HTML tools, with support for modern standards |
unixodbc | 2.3.12 | ODBC 3 connectivity for UNIX |
Depends on when building from source:
httpd | 2.4.62 | Apache HTTP server |
pkgconf | 2.3.0 | Package compiler and linker metadata toolkit |
To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module $HOMEBREW_PREFIX/opt/php/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.3/ |
Analytics:
Installs (30 days) | |
---|---|
php |
56,004 |
php --HEAD |
122 |
Installs on Request (30 days) | |
php |
52,434 |
php --HEAD |
122 |
Build Errors (30 days) | |
php |
57 |
Installs (90 days) | |
php |
166,069 |
php --HEAD |
355 |
Installs on Request (90 days) | |
php |
155,231 |
php --HEAD |
355 |
Installs (365 days) | |
php |
673,664 |
php --HEAD |
1,235 |
Installs on Request (365 days) | |
php |
628,496 |
php --HEAD |
1,234 |