简体   繁体   English

APCu 是否可以在 Apache 2.4 (Win64) 上使用 PHP7 作为 Apache 模块安装?

[英]Will APCu work on Apache 2.4 (Win64) with PHP7 installed as Apache module?

I have a single, simple Apache/2.4.46 server running on Windows 64-bit , paired with PHP/7.4.15 .我有一个简单的Apache/2.4.46服务器在Windows 64-bit上运行,与PHP/7.4.15配对。

PHP is installed as an Apache module (LoadModule php7_module ".../php7apache2_4.dll"). PHP 安装为 Apache 模块(LoadModule php7_module ".../php7apache2_4.dll")。

My question is: will APCu be functional in such setup?我的问题是: APCu 在这样的设置中会起作用吗?

In other words:换句话说:

  1. Will all PHP scripts executed in parallel (= handling simultaneous HTTP requests) "see" the same, single cache?所有 PHP 脚本会并行执行(= 处理同时的 HTTP 请求)“看到”相同的单个缓存吗?
  2. And will this cache be kept alive between subsequent HTTP requests?这个缓存会在后续的 HTTP 请求之间保持活动状态吗?

Thanks!谢谢!

Yes, it works fine - both conditions are met.是的,它工作正常 - 两个条件都满足。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM