Shri Suresh
Shri Suresh

Reputation: 473

How do I install XCache in WAMP in windows?

How to Install XCache in WAMP server XCache

I got XCache is not loaded

enter image description here

Upvotes: -2

Views: 3659

Answers (1)

Harikrishnan
Harikrishnan

Reputation: 9979

  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"

Upvotes: 3

Related Questions