dongtongjian3127 2010-05-17 19:35
浏览 45
已采纳

安装了APC的LAMP堆栈 - WordPress站点 - WP操作码是否被APC缓存?

I have a LAMP stack with APC installed. I have a WordPress site on this server. Is WP taking advantage of the opcode caching? I have done no WP configurations. My understanding is that simply having APC installed means that all PHP code is being cached. If that is untrue, please point me to the direction where I can configure WP to take advantage of APC.

Note: I thought about this as a ServerFault question, but since the solution to is code related I posted on Stackoverflow.

  • 写回答

1条回答 默认 最新

  • dsplos5731 2010-05-17 19:38
    关注

    Is WP taking advantage of the opcode caching?

    Yes, it should be. You can install the apc.php script which will tell you exactly what pages are being cached.

    Finding the apc.php script can be tricky.. You didn't mention exactly which distro you're using but this site has a decent example of finding and installing it:

    http://www.debian-administration.org/articles/574

    Edit: Direct link to apc.php in their repo: http://svn.php.net/viewvc/pecl/apc/branches/APC_4_0/apc.php?view=co

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

报告相同问题?

悬赏问题

  • ¥15 把Excel导入MATLAB显示错误怎么解决?
  • ¥15 Java中消息和缓存如何使用
  • ¥50 易语言把MYSQL数据库中的数据添加至组合框
  • ¥20 求数据集和代码#有偿答复
  • ¥15 关于下拉菜单选项关联的问题
  • ¥20 java-OJ-健康体检
  • ¥15 rs485的上拉下拉,不会对a-b<-200mv有影响吗,就是接受时,对判断逻辑0有影响吗
  • ¥15 使用phpstudy在云服务器上搭建个人网站
  • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
  • ¥15 vue3+express部署到nginx