doujing1156 2013-09-04 19:40
浏览 66

MAC自制php pdo firebird驱动程序

I installed php53 on mac osx with homebrew. I need to enable pdo driver for firebird. I tried to instal via pecl ..

I donwload http://pecl.php.net/package/PDO_FIREBIRD and compile this but I get this error

...
...
configure: error: libgds or libib_util not found! Check config.log for more information.

I found that means that I don't have installed firebird develepoment libraries...

I have installed firebird 2.0 on my mac.. this version is working Flamerobin.

Does anyone have pdo firebird driver on mac server installed via homebrew?

  • 写回答

2条回答 默认 最新

  • duanpang1987 2013-09-09 15:05
    关注

    Pdo Firebird from pecl is deprecated , i will updated it soon that i get access to it

    you need to download the source code for php extract it and then build only the pdo_firebird extension

    cd ext/pdo_firebird
    phpize
    ./configure
    

    (you might need to pass the firebird framework dir --with-pdo-firebird=/Library/Frameworks/Firebird.framework )

    make
    sudo make install 
    

    after that you need to copy the extension in your brew build php extensions folder and add it to php.ini

    extension=pdo_firebird.so
    

    I also recommend firebird 2.5.x is more recent and well supported on recent macosx versions

    评论

报告相同问题?

悬赏问题

  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程