php - How to install apcu in windows -
how can install apcu in windows?
i found this. need solution windows.
i use php 5.5.6 (i have xampp package).
this short , straight point tutorial should you
install apcu on windows
assumptions
- i assume know apc - alternative php cache
- you want install apcu because apc not compatible anymore php 5.5.x
- you want install apcu wamp, xampp. windows web development platforms php
instructions
pre: directory locations might different depending on wamp installation folder , php/apache versions.
- go http://pecl.php.net/package/apcu, there table available releases
- choose whatever release suits better (i chose 4.0.5 dll)
- choose package dll list, depending on windows using (32 bits/64 bits) , php version. in case chose 5.5 thread safe (ts) x86
- unzip archive, copy
php_apcu.dll
inc:\wamp\bin\php\php5.5.12\ext
. go
c:\wamp\bin\apache\apache2.4.9\bin
openphp.ini
, add following lines (i added them @ end of file):[apcu] extension="c:\wamp\bin\php\php5.5.12\ext\php_apcu.dll" apc.enabled=1 apc.shm_size=32m apc.ttl=7200 apc.enable_cli=1 apc.serializer=php
this recommended configurations located in install file php_apcu archive, excepting location of dll file.
restart wamp
- go http://localhost/phpinfo.php , check if apcu configuration table appears , apcu enabled
- if want use apcu php cli need add in
c:\wamp\bin\php\php5.5.12\bin\php.ini
config lines added @ step 5 in apache's php.ini.
the end!
Comments
Post a Comment