Extension | PHP Version |
---|---|
amqp |
PHP 5.6 to PHP 8.2 |
apcu |
PHP 5.6 to PHP 8.2 |
expect |
PHP 5.6 to PHP 8.2 |
grpc |
PHP 5.6 to PHP 8.2 |
igbinary |
PHP 5.6 to PHP 8.2 |
imagick |
PHP 5.6 to PHP 8.2 |
imap |
PHP 5.6 to PHP 8.2 |
memcache |
PHP 5.6 to PHP 8.2 |
memcached |
PHP 5.6 to PHP 8.2 |
mongodb |
PHP 5.6 to PHP 8.2 |
msgpack |
PHP 5.6 to PHP 8.2 |
pcov |
PHP 7.1 to PHP 8.2 |
pecl_http |
PHP 5.6 to PHP 8.2 |
phalcon3 |
PHP 5.6 to PHP 7.3 |
phalcon4 |
PHP 7.2 to PHP 7.4 |
propro |
PHP 5.6 to PHP 7.4 |
protobuf |
PHP 5.6 to PHP 8.2 |
psr |
PHP 5.6 to PHP 8.2 |
raphf |
PHP 5.6 to PHP 8.2 |
rdkafka |
PHP 5.6 to PHP 8.2 |
redis |
PHP 5.6 to PHP 8.2 |
ssh2 |
PHP 5.6 to PHP 8.2 |
swoole |
PHP 5.6 to PHP 8.2 |
vips |
PHP 7.0 to PHP 8.2 |
xdebug |
PHP 5.6 to PHP 8.2 |
xdebug2 |
PHP 7.2 to PHP 7.4 |
yaml |
PHP 5.6 to PHP 8.2 |
zmq |
PHP 5.6 to PHP 8.2 |
Operating System | Architecture |
---|---|
Linux 4.18+ | x86_64 |
macOS Catalina | x86_64 |
macOS Big Sur | x86_64 , arm64 |
macOS Monterey | x86_64 , arm64 |
On Linux, GLIBC 2.27 or newer is required, so distributions with Linux kernel 4.18 and newer are supported.For example: Ubuntu 18.04, Debian 10, CentOS 8, Fedora 28, and newer versions of these distributions.
All extensions except imap
and vips
are built on Linux.
brew update
shivammathur/php
tap and homebrew/core
tap:php -v
PHP 7.4
:brew tap shivammathur/php
brew install shivammathur/php/php@7.4
brew link --force --overwrite php@7.4
Refer to shivammathur/php tap for more information about installing PHP.
shivammathur/extensions
:brew tap shivammathur/extensions
Then install the required extension. See Formula directory for available formulae.
For example, to install Xdebug
on PHP 7.4
:
brew install xdebug@7.4
Xdebug
on PHP 7.4
.brew upgrade xdebug@7.4
Make sure you ran brew update
before installing PHP.
Run brew doctor
and fix the warnings it reports.
Make sure homebrew has correct permissions.
sudo chown -R "$(id -un)":"$(id -gn)" $(brew --prefix)
Check if your issue is a Homebrew's common issue.
If you are still facing an issue, please create a discussion thread here.
The code in this project is licensed under the MIT license.Please see the license file for more information. This project has multiple dependencies. Their licenses can be found in their respective repositories.
Contributions are welcome!Please see Contributor's Guide before you start.If you face any issues while using this tap or want to suggest a feature/improvement, create an discussion thread here.
一、以前Mac安装php及php扩展的方式 用Mac的童鞋都知道,我们以前都是用brew install php70,brew install php71 这样来安装php的,用brew install php70-xdebug,brew install php71-redis等这样来安装php某个版本对应的扩展的,而且这样的安装方式非常方便,每个扩展都单独使用一个配置文件,放在/usr/loca
10.15.7 (19H2) 这个版本的需要执行以下命令 : sudo chown -R $(whoami) $(brew --prefix)/* 执行完上面的命令后。执行brew install svn,即可安装svn。 wangyonglin@wangyonlindeMBP ~ % brew install svn ==> Downloading https://ghcr.io/v
Homebrew 安装Homebrew Homebrew国内如何自动安装https://zhuanlan.zhihu.com/p/111014448 更新brew 上述方法安装后即自动更新 但用brew安装imagemagic时报错,可能还是更新问题 再次手动更新 rm -rf /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core brew
Homebrew 无法下载安装文件的解决方法 借鉴自How to install a local file in Homebrew,十分优秀的文章. 相信很多小伙伴都或遇到用Homebrew下载、更新一些软件的时候会发生一些让人感慨中国安全的时候。希望这个贴能帮助到你。 打个比方我要更新Dart: brew upgrade dart 终端会显示: DownloadError: Failed
*本文基于安装librdkafka总是失败的前提,如果一切顺畅可以不看本文 一、安装librdkafka 参考文档:librdkafka 安装:brew install librdkafka 二、安装前准备 先找到librdkafka的安装位置,新版本基本在 /opt/homebrew/Cellar/librdkafka 目录中,会有版本区别,我的是1.8.2版本,所以是 /opt/homebr
Mac中如何安装PHP7,为什么brew 安装php7为什么找不到.so文件呢,安装php7后丢失libphp7.so了吗 。那安装brew install php72时怎么配置参数呢 常见问题 找不到libphp7.so 首先系统中brew 1.4.0版本 ➜ apache2 git:(stable) ✗brew -v Homebrew 1.4.0 Homebrew/homebrew-core
首先安装必要插件 1 安装Xcode Command Line Tools xcode-select --install 注意 确保这步要完成,也可以直接安装xcode,装完之后要先打开一次 Tools 包含了 mac 下所有的常用开发包。 2 安装XQUARZ(可忽略) [https://www.xquartz.org](https://www.xquartz.org) curl http://
保存以备后用 ==>Caveats To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so The php.ini file can be found in
包管理工具可以让你安装和更新程序变得更方便,目前在 OS X 系统中最受欢迎的包管理工具是 Homebrew. 安装 在安装 Homebrew 之前,需要将 Xcode Command Line Tools 安装完成,这样你就可以使用基于 Xcode Command Line Tools 编译的 Homebrew。 在 terminal 中复制以下命令(不包括 $),跟随指引,将完成 Hombre
Homebrew 是一个包管理器,用来在 macOS 安装 Linux 工具包。 安装过程很简单: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" HomeBrew是ruby脚本,但是mac下不需要安装ruby解释环境,系统自带了。 安装好后,可以: brew –v 通过检查homebrew版本
extensions 对现有neutron API的扩展。某些plugin可能还支持额外的资源或操作,可以以extension的方式实现。包括firewall、vpnaas、l3、lbaas等。 这些扩展资源类,大部分都继承自neutron.api.extensions.ExtensionDescriptor类,一般都实现了如下的类方法。 get_name、get_alias、get_descri
你已经感受到了使用 Homebrew 安装命令行程序的便利。那么接下来,我们将通过 Homebrew Cask 优雅、简单、快速的安装和管理 OS X 图形界面程序,比如 Google Chrome 和 Dropbox。 安装 安装 Homebrew-cask 是如此的简单直接,运行以下命令即可完成: $ brew install caskroom/cask/brew-cask $ brew ca
安装一个包,可以简单的运行: $ brew install <package_name> 更新 Homebrew 在服务器端上的包目录: $ brew update 查看你的包是否需要更新: $ brew outdated 更新包: $ brew upgrade <package_name> Homebrew 将会把老版本的包缓存下来,以便当你想回滚至旧版本时使用。但这是比较少使用的情况,当你想清
homebrew-neomutt Homebrew formula for NeoMutt. Usage To install the latest release: $ brew install neomutt/homebrew-neomutt/neomutt To upgrade a previously-installed version: $ brew update$ brew upgra