I need steps to install Microsoft Sql Server's "sqlsrv" & "pdo_sqlsrv" drivers on Amazon Beanstalk machine (Php 7.4, Linux 2, Apache).
Make a sample php page that will use connection like below on Amazon Elastic Beanstalk instance
$pdo = new PDO("sqlsrv:server=xxx;database=yyy", "user", "password");
And sql commands should work fine on the same page. Write "Read IT" in start of your bid.