php@7.1

Formerly known as: php71

General-purpose scripting language

https://www.php.net/

/api/formula/php@7.1.json (JSON API)

Formula code on GitHub

Current versions:

stable 7.1.32
bottle 🍾 mojave, high_sierra, sierra

Revision: 1

Keg-only

Depends on:

apr 1.7.0 Apache Portable Runtime library
apr-util 1.6.1 Companion library to apr, the Apache Portable Runtime library
aspell 0.60.7 Spell checker with better logic than ispell
autoconf 2.69 Automatic configure script builder
curl-openssl 7.66.0 Get a file from an HTTP, HTTPS or FTP server
freetds 1.1.15 Libraries to talk to Microsoft SQL Server and Sybase databases
freetype 2.10.1 Software library to render fonts
gettext 0.20.1 GNU internationalization (i18n) and localization (l10n) library
glib 2.62.0 Core application library for C
gmp 6.1.2 GNU multiple precision arithmetic library
icu4c 64.2 C/C++ and Java libraries for Unicode and globalization
jpeg 9c Image manipulation library
libpng 1.6.37 Library for manipulating PNG images
libpq 11.5 Postgres C API library
libtool 2.4.6 Generic library support script
libzip 1.5.2 C library for reading, creating, and modifying zip archives
mcrypt 2.6.8 Replacement for the old crypt package and crypt(1) command
openldap 2.4.48 Open source suite of directory software
openssl@1.1 1.1.1d Cryptography and SSL/TLS Toolkit
sqlite 3.29.0 Command-line interface for SQLite
tidy-html5 5.6.0 Granddaddy of HTML tools, with support for modern standards
unixodbc 2.3.7 ODBC 3 connectivity for UNIX
webp 1.0.3 Image format providing lossless and lossy compression for web images

Depends on when building from source:

httpd 2.4.41 Apache HTTP server
pkg-config 0.29.2 Manage compile and link flags for libraries
To enable PHP in Apache add the following to httpd.conf and restart Apache:
     LoadModule php7_module $(brew --prefix)/opt/php@7.1/lib/httpd/modules/libphp7.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:
     $(brew --prefix)/etc/php/7.1/

Analytics:

Installs (30 days)
php@7.1 12,337
Installs on Request (30 days)
php@7.1 11,564
Build Errors (30 days)
php@7.1 19
Installs (90 days)
php@7.1 35,012
Installs on Request (90 days)
php@7.1 32,966
Installs (365 days)
php@7.1 211,135
Installs on Request (365 days)
php@7.1 196,741
Fork me on GitHub