Alpha
V2EX  ›  PHP

关于 brew 安装 php-fpm

  •  
  •   Alpha ·
    PRO
    · Jul 24, 2014 · 9084 views
    This topic created in 4490 days ago, the information mentioned may be changed or developed.
    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 这个文件
    7 replies  •  2014-08-19 21:03:21 +08:00
    Alpha
    Alpha
    OP
    PRO
    Jul 24, 2014
    1
    谁有相关的安装经验
    47jm9ozp
    47jm9ozp
    Jul 24, 2014
    2
    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
    Busy
    Busy
    Jul 24, 2014
    3
    --with-pgsql
    你用得到吗?用不到去掉
    Alpha
    Alpha
    OP
    PRO
    Jul 24, 2014
    4
    这个是用到的
    jsq2627
    jsq2627
    PRO
    Jul 24, 2014
    5
    先 brew 安装 postgresql
    vvtommy
    vvtommy
    Jul 30, 2014
    6
    跑个题啊,为什么在mac下装这个呢?如果对环境要求不高,用MAMP之类工具就行。如果对环境要求高,你的生产环境是OSX吗?不是的话,vagrant完全满足需求。
    zhuzhenyu
    zhuzhenyu
    Aug 19, 2014
    7
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1651 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 63ms · UTC 13:12 · PVG 21:12 · LAX 05:12 · JFK 08:12
    ♥ Do have faith in what you're doing.