{"name":"php@8.1","full_name":"php@8.1","tap":"homebrew/core","oldname":null,"oldnames":[],"aliases":[],"versioned_formulae":["php@8.2","php@8.0"],"desc":"General-purpose scripting language","license":"PHP-3.01","homepage":"https://www.php.net/","versions":{"stable":"8.1.28","head":null,"bottle":true},"urls":{"stable":{"url":"https://www.php.net/distributions/php-8.1.28.tar.xz","tag":null,"revision":null,"using":null,"checksum":"95d0b2e9466108fd750dab5c30a09e5c67f5ad2cb3b1ffb3625a038a755ad080"}},"revision":0,"version_scheme":0,"bottle":{"stable":{"rebuild":0,"root_url":"https://ghcr.io/v2/homebrew/core","files":{"arm64_sonoma":{"cellar":"/opt/homebrew/Cellar","url":"https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:2ee362542d9ca3c803f4049110fae53befad4e22f8cf33c2d2cc8fff475a7303","sha256":"2ee362542d9ca3c803f4049110fae53befad4e22f8cf33c2d2cc8fff475a7303"},"arm64_ventura":{"cellar":"/opt/homebrew/Cellar","url":"https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:a2152857fa7ebb8137d351535318a79ecb68f520e3e709530a9715a01666a962","sha256":"a2152857fa7ebb8137d351535318a79ecb68f520e3e709530a9715a01666a962"},"arm64_monterey":{"cellar":"/opt/homebrew/Cellar","url":"https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:1cf81e0a2174921b687d55b00171134fbb59899a6d6ad9d95e13f264d12fc630","sha256":"1cf81e0a2174921b687d55b00171134fbb59899a6d6ad9d95e13f264d12fc630"},"sonoma":{"cellar":"/usr/local/Cellar","url":"https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:26e7220ea576fba05320bf116b22cd1b25f20a5a8980fc2c9614e921f5d04cef","sha256":"26e7220ea576fba05320bf116b22cd1b25f20a5a8980fc2c9614e921f5d04cef"},"ventura":{"cellar":"/usr/local/Cellar","url":"https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:2a3e46df5983eb9674275bac862c87f94d37317f77b4e0d2dcbab94a914f764c","sha256":"2a3e46df5983eb9674275bac862c87f94d37317f77b4e0d2dcbab94a914f764c"},"monterey":{"cellar":"/usr/local/Cellar","url":"https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:08df5c1948b7b7c9e8c06f0e34715b5ad4fe669e4d298b3d896cc38d959760d0","sha256":"08df5c1948b7b7c9e8c06f0e34715b5ad4fe669e4d298b3d896cc38d959760d0"},"x86_64_linux":{"cellar":"/home/linuxbrew/.linuxbrew/Cellar","url":"https://ghcr.io/v2/homebrew/core/php/8.1/blobs/sha256:8eebb242ad22d638b14ffc46a6d97737ff551582cdf5b05265eb68f6b420f9e1","sha256":"8eebb242ad22d638b14ffc46a6d97737ff551582cdf5b05265eb68f6b420f9e1"}}}},"pour_bottle_only_if":null,"keg_only":true,"keg_only_reason":{"reason":":versioned_formula","explanation":""},"options":[],"build_dependencies":["httpd","pkg-config"],"dependencies":["apr","apr-util","argon2","aspell","autoconf","curl","freetds","gd","gettext","gmp","icu4c","krb5","libpq","libsodium","libzip","oniguruma","openldap","openssl@3","pcre2","sqlite","tidy-html5","unixodbc"],"test_dependencies":["httpd"],"recommended_dependencies":[],"optional_dependencies":[],"uses_from_macos":[{"xz":"build"},"bzip2","libedit","libffi","libxml2","libxslt","zlib"],"uses_from_macos_bounds":[{},{},{},{"since":"catalina"},{},{},{}],"requirements":[],"conflicts_with":[],"conflicts_with_reasons":[],"link_overwrite":[],"caveats":"To enable PHP in Apache add the following to httpd.conf and restart Apache:\n LoadModule php_module $HOMEBREW_PREFIX/opt/php@8.1/lib/httpd/modules/libphp.so\n\n \n SetHandler application/x-httpd-php\n \n\nFinally, check DirectoryIndex includes index.php\n DirectoryIndex index.php index.html\n\nThe php.ini and php-fpm.ini file can be found in:\n $HOMEBREW_PREFIX/etc/php/8.1/\n","installed":[],"linked_keg":null,"pinned":false,"outdated":false,"deprecated":false,"deprecation_date":"2025-12-31","deprecation_reason":null,"disabled":false,"disable_date":null,"disable_reason":null,"post_install_defined":true,"service":{"run":["$HOMEBREW_PREFIX/opt/php@8.1/sbin/php-fpm","--nodaemonize"],"run_type":"immediate","keep_alive":{"always":true},"working_dir":"$HOMEBREW_PREFIX/var","error_log_path":"$HOMEBREW_PREFIX/var/log/php-fpm.log"},"tap_git_head":"8e99417b09acd7f3421aa539732f85107f6f64ff","ruby_source_path":"Formula/p/php@8.1.rb","ruby_source_checksum":{"sha256":"8ea10b4afbc807d0eb8068e425f90753c10e6a1cabd8238142599aba4e2eebda"},"variations":{},"analytics":{"install":{"30d":{"php@8.1":7249,"php@8.1 --HEAD":14},"90d":{"php@8.1":21795,"php@8.1 --HEAD":38},"365d":{"php@8.1":107896,"php@8.1 --HEAD":181}},"install_on_request":{"30d":{"php@8.1":7010,"php@8.1 --HEAD":14},"90d":{"php@8.1":21119,"php@8.1 --HEAD":38},"365d":{"php@8.1":103388,"php@8.1 --HEAD":181}},"build_error":{"30d":{"php@8.1":29}}}, "generated_date":"2024-05-13"}