douzi8548 2015-05-06 08:41
浏览 19
已采纳

Phalcon Mac和xampp

Hi I have hard times with phalcon framework and xampp on my MacBook Pro, I tried how they suggest in phalcon web page with brew and all it is ok when type brew search phalcon I can see the different versions, but can not find phalcon.so to add in my xampp php.ini. Can someone help me with this?

  • 写回答

1条回答 默认 最新

  • dongyun8138 2015-05-07 20:40
    关注

    After:

    git clone --depth=1 git://github.com/phalcon/cphalcon.git
    cd cphalcon/build
    sudo ./install
    

    I found phalcon.so in this location: /usr/local/Cellar/php56/5.6.8/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so

    so in my /Applications/XAMPP/etc/php.ini I added this:

    extension=/usr/local/Cellar/php56/5.6.8/lib/php/extensions/no-debug-non-zts-20131226/phalcon.so
    

    and now seems to work fine.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?