I need to install php-apc library on windows just to be able to keep developing my app on windows as well.
I went to http://downloads.php.net/pierre/ and downloaded php_apc-3.1.10-5.3-vc9-x86.zip
. The problem is know that inside the zip file, there are 2 folders that contain the php apc library, nts
and ts
folders!
From which should I copy the library to my c:\xampp\php\ext
folder? What is the difference?
APCu is an in-memory key-value store for PHP. Keys are of type string and values can be any PHP variables. APCu only supports userland caching of variables. APCu is APC stripped of opcode caching. The first APCu codebase was versioned 4.0.
Run phpinfo()
and check Zend Extension Build
. In my case it's API220090626,NTS,VC9, so it's nts
. The difference between ts
and nts
is explained here
Look in phpinfo() for Thread Safety
key :
IF Thread Safety
==enabled
-> copy from TS folder
IF Thread Safety
==disabled
-> copy from NTS folder
Hope this helps !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With