title: Install PHP-Redis for XAMPP on Mac
body: <p>XAMPP 7.3 is installed and functional and localhost is working as expected. Now I would like to install PHP-Redis to test Redis.</p>
  
  <p>I've been following the instructions here: <a href="https://www.9lessons.info/2016/12/install-xampp-70-on-ubuntu-and-mac-osx.html" rel="nofollow noreferrer">https://www.9lessons.info/2016/12/install-xampp-70-on-ubuntu-and-mac-osx.html</a></p>
  
  <p>So, I have installed PHP-Redis:</p>
  
  <pre><code>$ brew install homebrew/php/php70
  $ brew install homebrew/php/php70-redis
  </code></pre>
  
  <p>I have then edited <code>php.ini</code> in the XAMPP directory (/Applications/XAMPP/xamppfiles/etc/php.ini), and added the following line:</p>
  
  <pre><code>extension="redis.so"
  </code></pre>
  
  <p>After restarting XAMPP, Redis is not recognized in <code>phpinfo()</code>, and trying to set a Redis class results in <code>Fatal error: Uncaught Error: Class 'Redis' not found in /Applications/XAMPP/xamppfiles/htdocs/test/redis_cache_test.php</code></p>
  
  <p>I have also tried in php.ini: </p>
  
  <pre><code>extension=/‎⁨usr⁩/local⁩⁨/Cellar⁩/php70⁩/7.0.19_11⁩/lib⁩⁨/php⁩/⁨extensions⁩/⁨no-debug-non-zts-20151012⁩/redis.so
  </code></pre>
  
  <p>However, the Redis plugin does not appear to be loading, where am I going wrong on this installation?</p>