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.

  1. go http://pecl.php.net/package/apcu, there table available releases
  2. choose whatever release suits better (i chose 4.0.5 dll)
  3. choose package dll list, depending on windows using (32 bits/64 bits) , php version. in case chose 5.5 thread safe (ts) x86
  4. unzip archive, copy php_apcu.dll in c:\wamp\bin\php\php5.5.12\ext.
  5. go c:\wamp\bin\apache\apache2.4.9\bin open php.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.

  6. restart wamp

  7. go http://localhost/phpinfo.php , check if apcu configuration table appears , apcu enabled
  8. 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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -