-2

How to Install XCache in WAMP server XCache

I got XCache is not loaded

enter image description here

Shri Suresh
  • 463
  • 1
  • 5
  • 20
  • May I know why its downgraded? – Shri Suresh Mar 26 '16 at 08:47
  • I'd recommend to have a read of the best practice when asking a question mentioned here > http://stackoverflow.com/help/how-to-ask. Try to be more specific, what have you tried? what issues are you facing? etc – Sam Gilbert Mar 26 '16 at 09:27
  • My question is Straight forward, How can I Install XCache in WAMP Server, I followed steps provided in XCache site, but its not working – Shri Suresh Mar 26 '16 at 09:29

1 Answers1

3
  1. Download xcache curesponding to your PHP version from here

  2. Open php.ini and comment APC, memcache, disable memcache service.

  3. Add the extension = php_xcache.dll to php.ini

  4. Copy php_xcache.dll to the php ext dirctory.

  5. Open xcache.ini, copy & paste all to the end of php.ini (right before ; End:)

  6. Edit the path to php_xcache.dll, example: zend_extension_ts = C:/xampp/php/ext/php_xcache.dll

  7. Set the xcache admin username and password. Use any username. Generate a 32 digit md5 password.

  8. Restart apache and check phpinfo.

php.ini section will look like

[xcache-common] zend_extension_ts = C:/xampp/php/ext/php_xcache.dll

[xcache.admin] xcache.admin.enable_auth = On xcache.admin.user = "anyusername" xcache.admin.pass = "32-digit-number"

Harikrishnan
  • 9,688
  • 11
  • 84
  • 127