note 109876 added to sqlsrv.installation
| From: | zygmunt.kischel | Date: | Thu, 30 Aug 2012 11:24:17 +0000 |
| Subject: | note 109876 added to sqlsrv.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-190269@lists.php.net to get a copy of this message | ||
Folks,
I got trouble to get PHP to connect with a MS SQL DB.
The environment is a
- Win 2008 R2
- SQL 2008 R2 with
- IIS
- PHP 5.4.6 and 5.3.6
I did follow the instructions coming across with the SQLSRV 3.0 download I copied the driver dll
file made changes to extensions in php.ini but all without a positive result on phpinfo()
after scanning a couple of blogs and installing SQL server Client tools etc. I used the Microsoft
Web Platform to install php through that. It installs version 5.3.13 and it has the SQL driver
already within the ext directory. And it worked from scratch.
The one and only difference I see is that the dll name is php_sqlsrv.dll and not like
php_sqlsrv_53_nts.dll
Does the name make trouble? I was not able to sort that out.
----
Server IP: 69.147.83.197
Probable Submitter: 130.180.102.244
----
Manual Page -- http://www.php.net/manual/en/sqlsrv.installation.php
Edit -- https://master.php.net/note/edit/109876
Del: integrated -- https://master.php.net/note/delete/109876/integrated
Del: useless -- https://master.php.net/note/delete/109876/useless
Del: bad code -- https://master.php.net/note/delete/109876/bad+code
Del: spam -- https://master.php.net/note/delete/109876/spam
Del: non-english -- https://master.php.net/note/delete/109876/non-english
Del: in docs -- https://master.php.net/note/delete/109876/in+docs
Del: other reasons-- https://master.php.net/note/delete/109876
Reject -- https://master.php.net/note/reject/109876
Search -- https://master.php.net/manage/user-notes.php