【问题标题】:eaccelerator 0.9.6.1 and --with-eaccelerator-shared-memory doesn't workeaccelerator 0.9.6.1 和 --with-eaccelerator-shared-memory 不起作用
【发布时间】:2011-12-01 19:10:18
【问题描述】:

我尝试使用 --with-eaccelerator-shared-memory 标志编译 eaccelerator 0.9.6.1 但之后:

./configure --with-eaccelerator-shared-memory

收到此消息:

configure: WARNING: unrecognized options: --with-eaccelerator-shared-memory

我需要启用内容缓存,所以 get_ 和 set_ 函数

【问题讨论】:

    标签: php compilation configure eaccelerator


    【解决方案1】:

    你是否先运行 phpize 来获取 php 版本?我刚刚在我的盒子上运行了 configure --with-eaccelerator-shared-memory ,我得到了这个输出:

    检查 gcc 链接器 (/usr/bin/ld -m elf_x86_64) 是否支持共享库...是的

    也许您的链接器不支持构建共享库?只需再次检查您的 gcc 安装(apt-get update)。

    【讨论】:

      【解决方案2】:

      用户缓存功能在 0.9.6 中被移除,因此也移除了带有-eaccelerator-shared-memory 的开关。

      https://eaccelerator.net/wiki/Release-0.9.6

      旧版本无法使用 PHP 5.3 进行编译。

      【讨论】:

        猜你喜欢
        • 2014-04-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-10-30
        • 1970-01-01
        • 2013-10-06
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多