PHP扩展开发(CPP)

  1. 升级GCC

  2. 安装PHP-CPP

    cd /root
    
    # PHP-5↓
    git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP-LEGACY.git
    mv PHP-CPP-LEGACY PHP-CPP
    # PHP-5↑
    
    # PHP-7↓
    git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP.git
    # PHP-7↑
    
    cd PHP-CPP
    make
    make install
    
  3. 开始开发

    # 按官方网站Example代码,修改后即可运行
    
  4. 官方网站

Copyright © 豆包嘿嘿~ 2012-∞ 冀ICP备17033181号 all right reserved,powered by Gitbook修订: 2020-07-16 17:26:52

results matching ""

    No results matching ""