pecl installs for previous php version

前端 未结 7 902
心在旅途
心在旅途 2021-01-30 14:40

I\'ve upgraded my MacBook to Mavericks and ruined my development environment. The problem I have right now is that my pear/pecl still tries to install for my previous (5.3) vers

7条回答
  •  情话喂你
    2021-01-30 15:18

    The solution was pretty simple. I had to make modifications to my pecl config. It turned out that these two command did the trick:

    sudo pear config-set php_ini /etc/php.ini
    sudo pecl config-set bin_dir /usr/bin/
    

    pecl used the wrong phpize. There were two versions of the phpize. The same counts for my php.ini file.

提交回复
热议问题