title: PHP Startup: Unable to load dynamic library 'sqlsrv'
body: <p>I keep getting this error when trying to use &quot;php artisan migrate&quot;</p>
  <blockquote>
  <p>PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv' (tried: E:\xampp\php\ext\sqlsrv (The specified module could not be found), E:\xampp\php\ext\php_sqlsrv.dll (The specified module could not be found)) in Unknown on line 0</p>
  </blockquote>
  <p>I'm using laravel and trying to connect to SQL Server</p>
  <p>I'm using PHP 8.0 and using this <a href="https://pecl.php.net/package/sqlsrv/5.9.0beta2/windows" rel="nofollow noreferrer">https://pecl.php.net/package/sqlsrv/5.9.0beta2/windows</a> for the sql driver.</p>
  <p>In particular I'm using &quot;7.4 Thread Safe (TS) x64&quot; dll file.</p>
  <p>I looked at many other questions with similar problems and cant get anything to work.</p>
  <p>If you need more information let me know!</p>
  <p>Edit: this is my php.int:</p>
  <pre><code>extension=php_sqlsrv.dll
  </code></pre>