as to see in the title i have troubles to connect to a mssql database via php. I tried literally anything, I tried it with Apache, with IIS, 5 different drivers in 2 different locations and the only message i get is "could not find driver". I also defined the drivers in the php.ini file multiple times in multiple combinations and put the dlls in the extensions folder, but nothing seems to work. Currently, I'm trying to connect with the following connection string: $conn = new PDO("sqlsrv:Server=MYSERVER;Database=MYDATABASE", "MYUSER", "MYPASSWORD");
Please inform me if I can provide any more information, im just frustrated.
Thanks in advance!
Edit
I tried to load the extensions directly with dl("php_pdo_sqlsrv_80_nts.dll");, but it also didn't work.