title: How to add imagick extension to xamppfiles Mac M1
body: <p>I am attempting to install imagick and use it on my php project via xampp on Mac M1, i manage to install it using below steps</p>
  <pre><code>git clone https://github.com/Imagick/imagick
  cd imagick
  phpize &amp;&amp; ./configure
  make
  sudo make install
  </code></pre>
  <p>And got the path of the imagick.so after building.</p>
  <pre><code>/bin/sh /Applications/XAMPP/xamppfiles/htdocs/imagick/imagick/libtool --mode=install cp ./imagick.la /Applications/XAMPP/xamppfiles/htdocs/imagick/imagick/modules
  cp ./.libs/imagick.so /Applications/XAMPP/xamppfiles/htdocs/imagick/imagick/modules/imagick.so
  cp ./.libs/imagick.lai /Applications/XAMPP/xamppfiles/htdocs/imagick/imagick/modules/imagick.la
  </code></pre>
  <p>Now i am trying to add it on my php.ini file using below methods</p>
  <pre><code>extension=&quot;imagick.so&quot;
  </code></pre>
  <p>and</p>
  <pre><code>extension=&quot;/Applications/XAMPP/xamppfiles/htdocs/imagick/imagick/modules/imagick.so&quot;
  </code></pre>
  <p>and</p>
  <pre><code>extension=/Applications/XAMPP/xamppfiles/htdocs/imagick/imagick/modules/imagick.so
  </code></pre>
  <p>after restarting the xampp and tried none of it worked, meaning it does not appear on my phpinfo modules and cannot instantiate <code>new Imagick(); </code> any advice</p>