I have a question about this error because I really don't know where to look anymore.
The error says that the problem is on the line with the PDO.
I also already made an inbound rule in the firewall so that the connection goes through the 1433 TCP port.
I work on a MacBook with Parallels Desktop with windows 10, maybe the problem is there?
I hope this is enough info to maybe see a problem.
$hostname = 'host.docker.internal';
$dbname = 'FLETNIX';
$username = 'applicatie';
$pw = 'removed-for-safety';
$dbh = new PDO("sqlsrv:Server=$hostname;Database=$dbname;ConnectionPooling=0", $username, $pw);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…