Fast forward a few weeks and I find that all of the pieces have happily produced themselves. Here is a short rundown on installing the newest SQL Server drivers for PHP 5.4:
First off, the newest release of SQL Server for PHP (3.0.1) depends on the Microsoft SQL Server 2012 Native Client driver, an ODBC carbuncle that can be obtained from http://msdn.microsoft.com/en-us/library/cc296170.aspx. Haha, gotcha, you actually have to get it from the Microsoft SQL Server 2012 Feature Pack page: skip the big red "Download" button that will do you no good at all, instead scroll down to find "Microsoft® SQL Server® 2012 Native Client" under the Connectivity Feature Pack Components. Download the installer according to your OS (X64 in my case, save rant about stupid chipset designations for another time...) Nothing fancy in the installation here, just click through the wizard and you save yourself an annoying error message.
If Microsoft built a car you would buy the body from Dell, the wheels from Best Buy, and the installer manual from Xbox Live, only 1000 points! |
Lastly, open IIS Manager and under the Server settings open PHP Manager. Verify the PHP Version is the 5.4 cgi. Click on Enable or disable an extension at the bottom of the panel. In the extensions menu locate pdo_sqlsrv and sqsrv drivers in the Disabled list (they may need to be added manually, but should appear automatically).
You can do this in php.ini, of course, but manually editing text files is for that other system. |
Enable both drivers and open phpinfo() in a browser window to confirm they were added correctly. And with that we've got a brand new, shiny, up-to-date WISP server. What's that you say? PHP 5.4.1 came out today?
No comments:
Post a Comment