Library not loaded error after brew install php56

后端 未结 7 1426
滥情空心
滥情空心 2021-01-12 06:07

I\'m upgrading from php5.5 to php5.6 on OSX Mavericks using homebrew. I run

brew install php56

Everything runs and completes fine but when

7条回答
  •  余生分开走
    2021-01-12 06:27

    For this to be fixed for me (Mavericks 10.9.5) necessitated the entire routine described in this GitHub issue, namely:

    brew uninstall --force php56
    
    brew update
    
    brew tap --repair
    
    find $(brew --cache) -mindepth 1 -print -delete
    
    brew install -v php56
    

    (and in my case I needed brew install php56-mcrypt as well, as that was missing.)

    I'd had PHP 5.4 and 5.6 installed before, with 5.4 being the active ("linked") one – I wanted to switch. I'd installed the php-switcher package, which is a very neat way of letting you do this, but it wasn't working prior to the above procedure.

提交回复
热议问题