Fatal error: Call to undefined function sqlsrv_connect ()?

Fatal error: Call to undefined function sqlsrv_connect () in D:phpStudyPHPTutorialWWWhenangwcincludedb_mssql.inc on line 46
the company uses sqlserver"s database and reports the above errors when running the project locally. The phpstudy, installed in the php environment does not seem to support sqlserver, solutions.

Feb.19,2022

need to install sqlsrv extension. Refer to window10 to add Sqlserver extension to php7.0


7.0.x

7.0.x:

Microsoft Drivers for PHP for SQL Server  https://www.microsoft.com/en-us/download/details.aspx?id=20098 

 SQLSRV40.exe dll
php.ini:32
extension=php_sqlsrv_7_ts_x86.dll 
extension=php_pdo_sqlsrv_7_ts_x86.dll
phpphp5.6
extension=php_sqlsrv_56_nts.dll
extension=php_pdo_sqlsrv_56_nts.dll
:
 ODBC Driver

ODBC, ODBC Driver  https://files.cnblogs.com/files/wtcl/sqlserverodbc.zip

phpinfo()  pdo_sqlsrv 
https://www.cnblogs.com/wtcl/p/7727636.html
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c10d06-47d66.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c10d06-47d66.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?