Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 not working with sqlsrv
#7

php_pdo_sqlsrv_82_nts_x64.dll

the nts -> stands for non-thread-safe, ts stands for thread-safe.

So you need to make sure and check to see if your php version is nts or ts


If you are unknown which version of PHP is installed in your system then there is an easy way to know that.
Check the version of installed PHP Thread safe or Non Thread Safe:
Open a phpinfo() and search for the line Thread safety for a thread-safe build you should find enable.

On Windows:
php -i|findstr "Thread"

On *nix:
php -i|grep Thread

In the both cases will display any one
Thread Safety => enabled
//or
Thread Safety => disabled


Installing Drivers: Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server

Drivers: 5.12.0 for PHP Driver for SQL Server

Loading Drivers: Loading the Microsoft Drivers for PHP for SQL Server
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Codeigniter 4 not working with sqlsrv - by InsiteFX - 07-12-2024, 10:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB