i have updated to php 8.2.8 , and here is php.ini modifiations to work with sql server :
uncomment :
extension_dir = "ext"
add :
extension=php_pdo_sqlsrv_82_nts.dll
extension=php_pdo_sqlsrv_82_ts.dll
extension=php_sqlsrv_82_nts.dll
extension=php_sqlsrv_82_ts.dll
then i got this error :
PHP Warning: PHP Startup: Unable to load dynamic library
‘php_pdo_sqlsrv_82_nts.dll’ (tried: extphp_pdo_sqlsrv_82_nts.dll (The
specified module could not be found),
extphp_php_pdo_sqlsrv_82_nts.dll.dll (The specified module could not
be found)) in Unknown on line 0 PHP Warning: PHP Startup: Unable to
load dynamic library ‘php_sqlsrv_82_nts.dll’ (tried:
extphp_sqlsrv_82_nts.dll (The specified module could not be found),
extphp_php_sqlsrv_82_nts.dll.dll (The specified module could not be
found)) in Unknown on line 0
note : i works on windows 10 64x , i made sure that (.dll) files are located correctly in their pathes , and finally before upadte php everything was working succesfully ..