doushu5451 2011-06-29 15:29
浏览 74
已采纳

是否可以在PHP 5.3.6 / IIS / Windows 2008上运行APC?

The problem is that no binary I could find worked, the APC section never appears in the info display and the apc monitor states that APC is not running.

Is there a way to make APC + PHP + IIS work?

Thank you

  • 写回答

2条回答 默认 最新

  • dongmiao4733 2011-06-29 17:09
    关注

    You need a fitting library.

    Be aware of the version number though. From your phpinfo() or php -i you can find out which version you need:

    There are three different factors:

    • 32bit vs 64bit
    • VC6 vs VC9 (Visual Studio Compiler version)

    If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP

    If you are using PHP with IIS you should use the VC9 versions of PHP

    VC6 Versions are compiled with the legacy Visual Studio 6 compiler

    VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed

    See: http://windows.php.net/

    • Thread safe vs Non thread safe. (TS/NTS)
    php -i|grep VC
    Compiler => MSVC9 (Visual C++ 2008)
    Zend Extension Build => API220090626,TS,VC9
    PHP Extension Build => API20090626,TS,VC9
    

    I usually get them here (32bits): http://downloads.php.net/pierre/

    or here (64bits): http://www.anindya.com/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么