【发布时间】:2018-03-17 08:23:00
【问题描述】:
我正在使用通过 homebrew 安装的 PHP 7.2.3,我想为我的 PHP 安装 PostgreSQL 驱动程序。
我尝试使用自制搜索来搜索驱动程序
jeremy@mbp ~ brew search php72-pdo-pgsql
==> Searching local taps...
==> Searching taps on GitHub...
==> Searching blacklisted, migrated and deleted formulae...
No formula found for "php72-pdo-pgsql".
Closed pull requests:
enchant 2.2.0 (https://github.com/Homebrew/homebrew-core/pull/21807)
Add PHP 7.2.0-alpha.1 core formula (php72) (https://github.com/Homebrew/homebrew-php/pull/4211)
我尝试了 brew update && brew upgrade 但我仍然找不到我的 PHP 版本的 PostgreSQL 驱动程序。
另外,我尝试仅使用 brew search pgsql 进行搜索,但没有一个结果适用于我的 PHP 版本。
这是我的 brew tap 结果
jeremy@mbp ~ brew tap
caskroom/cask
heroku/brew
homebrew/core
homebrew/dupes
homebrew/php
homebrew/services
还有我的 brew 版本
jeremy@mbp ~ brew -v
Homebrew 1.5.10
Homebrew/homebrew-core (git revision c3a9a; last commit 2018-03-17)
【问题讨论】:
-
验证您的 brew 安装。在我的盒子上,如果我
brew search php72我确实在搜索homebrew/php/php72-pdo-pgsql中找到了这个条目,在本地点击中。
标签: php postgresql homebrew