关于 brew 安装 php-fpm

2014-07-24 14:53:49 +08:00
 Alpha
http://www.douban.com/note/303992189/

按个这个帖子安装,最后提示如下:

localhost$ brew install php55 --with-imap --with-tidy --with-debug --with-pgsql --with-mysql --with-fpm
==> Downloading http://www.php.net/get/php-5.5.14.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php55-5.5.14

Error: No such file or directory - pg_config


是不是大概意思是下载成功了,但识别不了php55-5.5.14 这个文件
7935 次点击
所在节点    PHP
7 条回复
Alpha
2014-07-24 14:54:13 +08:00
谁有相关的安装经验
ooxxcc
2014-07-24 14:57:28 +08:00
Building brew install php55 --with-pgsql relies on postgresql the formula.
It requires that you have installed the postgresql formula with brew install postgresql, which is not the case for you (Server.app)

which pg_config should outpout /usr/local/bin/pg_config
pg_config --includedir should outpout /usr/local/Cellar/postgresql/9.3.1/include

Install postgresql formula first, then you will be able to compile PHP 5.5 --with-pgsql


https://github.com/Homebrew/homebrew-php/issues/799
Havee
2014-07-24 15:06:50 +08:00
--with-pgsql
你用得到吗?用不到去掉
Alpha
2014-07-24 15:55:03 +08:00
这个是用到的
jsq2627
2014-07-24 16:02:01 +08:00
先 brew 安装 postgresql
vvtommy
2014-07-30 18:07:55 +08:00
跑个题啊,为什么在mac下装这个呢?如果对环境要求不高,用MAMP之类工具就行。如果对环境要求高,你的生产环境是OSX吗?不是的话,vagrant完全满足需求。
zhuzhenyu
2014-08-19 21:03:21 +08:00

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/124289

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX