Can someone teach me how to configure XAMPP for Sql Server 2014? I'm in a project that does not allow Mysql (PHPMYADMIN).
Can someone teach me how to configure XAMPP for Sql Server 2014? I'm in a project that does not allow Mysql (PHPMYADMIN).
Flavio, you can download the drivers do SQL Server
( link ) or use the PDO.
Put the files in c:\xampp\php\ext
No php.ini
set the extensions, as an example:
extension=php_sqlsrv_56_ts.dl
extension=php_pdo_sqlsrv_56_ts.dll
OBS: If I'm not mistaken, in PHP 7 the drivers are not working. I have running in 5.6 normally.
Be careful not to download the wrong drivers, I had a hard time doing everything right, several tutorials and nothing worked, until I formatted the pc.
After a long 4 days trying, I finally discovered the error, I was using the drivers in the version of Windows, which in my case is 64x, however the Xamp was 86x, I should have used the 86x drivers in the folder ... \ php \ ext \