stribor40 Posted July 9, 2013 Share Posted July 9, 2013 Can anyone try to explain how does php process running on web server communicates with sql server process? Quote Link to comment https://forums.phpfreaks.com/topic/279983-drivers-for-php-and-mysql/ Share on other sites More sharing options...
requinix Posted July 9, 2013 Share Posted July 9, 2013 As you said, through drivers. Probably involving sockets/TCP or pipes, depending on the thing. For SQL Server specifically I think it depends on your connection string. Quote Link to comment https://forums.phpfreaks.com/topic/279983-drivers-for-php-and-mysql/#findComment-1439986 Share on other sites More sharing options...
stribor40 Posted July 9, 2013 Author Share Posted July 9, 2013 I am trying to figure out what is it. Here http://www.php.net/manual/en/refs.database.abstract.php shows so many different options. How do i know which one to use Server i need to connect to is ms sql Quote Link to comment https://forums.phpfreaks.com/topic/279983-drivers-for-php-and-mysql/#findComment-1439988 Share on other sites More sharing options...
requinix Posted July 9, 2013 Share Posted July 9, 2013 Use PDO or ODBC. If you're running on Windows I suggest trying PDO via pdo_sqlsrv first, otherwise you have to use ODBC. Quote Link to comment https://forums.phpfreaks.com/topic/279983-drivers-for-php-and-mysql/#findComment-1439994 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.