Pear install for macports PHP5

前端 未结 4 1138
谎友^
谎友^ 2021-02-12 17:52

I have PHP5 installed via macports in /opt/local/..the default location for macports. There\'s no portfile for pear. If I do a standard pear install from the pear site what dire

4条回答
  •  渐次进展
    2021-02-12 18:51

    While the curl option works, it won't update as you update your ports. An alternative:

    sudo port install php5 +pear
    

    This will install the variant of php5 with pear, in the same location as downloading above, and it will update as you update macports.

提交回复
热议问题