Adding DS Data Structure Extension to PHP

  • This is for Windows running PHP through XAMPP
  • Go to
    • download dll, choose 32 or 64 bit version.  Note, just because you are running 64 bit Windows, doesn’t mean you are running 64 bit PHP.  Do a
      php -v

      to verify which version you will need.  In my case, I was using 32-bit (x86) PHP.  In fact, 64 bit XAMPP is only built after 10/23/2019.

      PHP 7.2.9 (cli) (built: Aug 15 2018 23:29:19) ( ZTS MSVC15 (Visual C++ 2017) x86 )
      Copyright (c) 1997-2018 The PHP Group
      Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    • Add

      to php.ini file. All the document you find on using is for Linux systems.  I’ve found some people said to add this extension after this and that so, just be safe, add toward the end of the file.

    • Restart Apache