Pear install for macports PHP5

前端 未结 4 1600
Happy的楠姐
Happy的楠姐 2021-02-12 18:17

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:52

    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.

提交回复
热议问题