Crinsane / LaravelShoppingcart

A simple shopping cart implementation for Laravel
MIT License
3.67k stars 1.73k forks source link

SQL Server Drivers for PHP #666

Open KishwerWali54 opened 2 years ago

KishwerWali54 commented 2 years ago

I need to link SQL server with my PHP I have downloaded the drivers and placed them in the C:\xampp\php\ext file already

updated the php.ini file as well:

extension_dir="C:\xampp\php\ext"

;SQL Server Ext extension=php_pdo_sqlsrv_74_ts_x64.dll extension=php_sqlsrv_74_ts_x64.dll

but I get this error:

PHP Warning: PHP Startup: Unable to load dynamic library 'php_pdo_sqlsrv_74_ts_x64.dll' (tried: C:\xampp\php\ext\php_pdo_sqlsrv_74_ts_x64.dll (The specified module could not be found.), C:\xampp\php\ext\php_php_pdo_sqlsrv_74_ts_x64.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_74_ts_x64.dll' (tried: C:\xampp\php\ext\php_sqlsrv_74_ts_x64.dll (The specified module could not be found.), C:\xampp\php\ext\php_php_sqlsrv_74_ts_x64.dll.dll (The specified module could not be found.)) in Unknown on line 0

I am using PHP V 7.4.27 and my PHP Extension build is TS My OS is 64 bit Please HELP, it's driving me CRAAAZZZYYYYY!!!