简体   繁体   中英

How to fix: PHP Startup: Unable to load dynamic library 'php_pdo_sqlsrv_80_nts_x64'?

I get this error while attempting to run a php command from cmd.exe on Windows 10 pro. Looking in the ext folder, I can see I have the dll.

在此处输入图像描述

I also have this line in my php.ini file:

在此处输入图像描述

What am I doing wrong? I am using php version 8.0.13.

Here's some more info on the exact error:

在此处输入图像描述

I greatly appreciate any help!

In my case, i commented this lines:

;extension=pdo_sqlsrv_81_ts_x64
;extension=pdo_sqlsrv_81_ts_x86
;extension=pdo_sqlsrv_81_nts_x64
;extension=pdo_sqlsrv_81_nts_x86
;extension=pdo_sqlsrv_81_nts
extension=pdo_sqlsrv_81_ts

I hope that my case

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM