Install the memcache extension for PHP on Windows 11

Memcache module was designed to decrease database load in dynamic web applications.

To install the memcache extension for PHP on Windows 11, follow these steps:

  1. Download the memcache DLL:

  2. Edit php.ini

    • Locate your php.ini file.
    • Open php.ini in a text editor.
    • Add the line extension=php_memcache.dll.
  3. Restart PHP

    • Restart your web server (e.g., Apache) or PHP service to apply the changes.
  4. Verify installation

    • Check if the Memcache extension is enabled by running phpinfo() in a PHP script.
    • Look for the “memcache” section to ensure it’s listed and active.