dongyiyu882684 2014-06-30 03:51
浏览 35

启用APC的Magento - 无法下载产品文件

I have a Magento (CE version 1.9) site run on NGINX + PHP_FPM. Everything worked well.

I installed and configured APC (3.1.15-dev) and it worked well BUT there is just a problem: Customers loged-in and download downloadable product file and it does not return product.zip file, instead php file with octet stream.

When I change apc.enabled=1 to ;apc.enabled=1 in apc.ini, restart PHP_FPM, then when customer download the file, it return the correct file product.zip.

Did anyone get this problem? Please help me since I can not found the solutions.

apc.ini

extension = apc.so
apc.enabled=1
apc.shm_size=64M
apc.shm_strings_buffer=0
apc.ttl=7200
apc.user_ttl=7200
apc.mmap_file_mask=/tmp/apc.XXXXXX

Magento local.xml

<cache>
    <backend>apc</backend>
    <prefix>MySITE_</prefix>
</cache>

Many Thanks!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥30 eclipse开启服务后,网页无法打开
    • ¥30 雷达辐射源信号参考模型
    • ¥15 html+css+js如何实现这样子的效果?
    • ¥15 STM32单片机自主设计
    • ¥15 如何在node.js中或者java中给wav格式的音频编码成sil格式呢
    • ¥15 不小心不正规的开发公司导致不给我们y码,
    • ¥15 我的代码无法在vc++中运行呀,错误很多
    • ¥50 求一个win系统下运行的可自动抓取arm64架构deb安装包和其依赖包的软件。
    • ¥60 fail to initialize keyboard hotkeys through kernel.0000000000
    • ¥30 ppOCRLabel导出识别结果失败