【问题标题】:Installing older version of php5-postgresql using Macports使用 Macports 安装旧版本的 php5-postgresql
【发布时间】:2012-04-06 09:43:54
【问题描述】:

Macports 支持的最新 php 和 postgresql 版本是:

php5-postgresql                @5.3.10_0
postgresql91                   @9.1.3_0
postgresql91-server            @9.1.3_0

但是,出于兼容性原因,我需要安装以下版本:

php5-postgresql                @5.3.8_0
postgresql91                   @9.1.1_0
postgresql91-server            @9.1.1_0

这是我尝试过的命令:

sudo port install php5-postgresql @5.3.8_0+postgresql91 @9.1.1_0

...但这只是重新安装 9.1.3。

如何让 Macports 安装我需要的版本? 谢谢!

【问题讨论】:

    标签: php postgresql macports


    【解决方案1】:

    我不相信您可以在@ 符号之后获得特定的版本号。

    但是,您可以通过执行以下操作来获取旧版本的 postgresql:

    postgresql84
    postgresql84-server
    

    您可能需要查看 mac 端口站点。

    这里是关于如何使用 mac 端口安装 postgres 的来源:

    http://iosdeveloperforums.com/f23/installing-postgresql-osx-using-macports-52.html

    【讨论】:

      猜你喜欢
      • 2015-07-03
      • 2011-06-26
      • 2011-07-11
      • 1970-01-01
      • 2014-05-27
      • 2020-09-18
      • 2019-05-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多