I am trying to connect MSSQL to PHP. I follow this tutorial. In any case, after I added the dll files as described in this tutorial, I get the following warning. How can i solve this?
php starup sqlsrv unable to initialize module module compiled with module api=20090626 php compiled with module api=20020520 these options need to match
Note: I went through this post , but no one helped.
It looks like you were trying to install the sqlsrv extension for php 5.3 on php 5.2 system.
Or run <?php phpinfo(); ?>and find the php version and find the following entries:
<?php phpinfo(); ?>
.dll sqlsrv: , , ts, nts.
, PHP 5.5 (PHP API = 20121212), DLL ext > <
dll php.