Is there any harm in using thread safe extension (APC) in a non-streaming environment? (Php)

I was going to use this Easy PHP Download using the progress bar , and it says that I need the APC extension. I have two options with APC, thread safe and not thread safe.

using phpinfo, I found that thread safety was turned on, but I'm not sure if php actually works mutithreaded. I heard that php is still a beta for mutithread.

Anyway, if my PHP is not mutithreaded and was not "thread safe", would there be a problem using the streaming version of APC?

tl; dr version: Does thread-safe APC support greater compatibility (works like in php single / mutithread), and means that mutithread is required (works only in php mutithread)?

+5
source share
2 answers

if my PHP is not mutithreaded and was not thread safe, would you have problems using the streaming version of APC?

Yes - it will not work, period. Thread safety is a compilation option that must match PHP itself and all extensions, otherwise they cannot be loaded. Here's an article that explains the difference in detail.

, TS/NTS (x86 vs x64) Visual Studio, (VC6 vs. VC9), , , PHP.

, PHP.

+6

. , , , PHP ( ), - .

-2

All Articles