I am trying to connect my PHP v7.2.10 to SQLServer2014 I have seen quite a few tutorials and I have not managed to do it, I have downloaded the corresponding libraries to the version of my PHP (php_pdo_sqlsrv_72_nts.dll, php_pdo_sqlsrv_72_ts.dll, php_sqlsrv_72_nts.dll, php_sqlsrv_72_ts.dll) then I paste them into the PHP / ext folder, besides writing the names of them in the PHP.ini (extension = php_pdo_sqlsrv_72_nts.dll ...) I restart the server and then turn it on and I do not load the libraries in PHPInfo. I get the following error when I run the connection:
Fatal error: Uncaught Error: Call to undefined function sqlsrv_connect () in C: \ xampp \ htdocs \ DB \ connectionion.php: 8 Stack trace: # 0 {main} thrown in C: \ xampp \ htdocs \ DB \ conexion.php on line 8
This is the code of my connection that I am running.
and this is what I do in PHP.ini and in the EXT folder ..... I hope you can help me: D