of 16
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
1/16
SQL Server 2008 and PHP WebSQL Server 2008 and PHP Web
Application InfrastructureApplication Infrastructure
SQL Server 2008 and PHP WebSQL Server 2008 and PHP Web
Application InfrastructureApplication Infrastructure
Keith CombsKeith Combs
Microsoft US IT Pro EvangelistMicrosoft US IT Pro [email protected]@microsoft.comhttp://blog.technet.com/keithcombshttp://blog.technet.com/keithcombs
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
2/16
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
3/16
Why do this?
IIS is very easy to manage and monitorIIS is very easy to manage and monitorManagement and monitoring software integration withManagement and monitoring software integration with
Systems Center Operations Manager (SCOM)Systems Center Operations Manager (SCOM)SQL Server is easy, low cost and has great functionalitySQL Server is easy, low cost and has great functionalityExtensive Reporting And Data AnalysisExtensive Reporting And Data AnalysisEasily Scale from Desktop to DatacenterEasily Scale from Desktop to DatacenterIntegrity, Reliability, and SecurityIntegrity, Reliability, and Security
A powerful web platform with flexibility, stability, andA powerful web platform with flexibility, stability, andsupportsupportActive Directory (AD) integration and authenticationActive Directory (AD) integration and authentication
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
4/16
Pre-Installation
Windows Server 2008Windows Server 2008
WebEdition
x32 or x64
IIS
PHP
SQL Server 2008SQL Server 20082008 Server
SQL A uth
2005 Client
Text Search
Sample DatabaseSample DatabaseDownload Install Set Security
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
5/16
LetsLetsTakeTakeAA
Look Look
Configure Database SecurityConfigure Database SecurityConfigure Database SecurityConfigure Database Security
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
6/16
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
7/16
LetsLetsTakeTakeAA
Look Look
Install and Configure PHP forInstall and Configure PHP forSQL Server DriverSQL Server Driver
Install and Configure PHP forInstall and Configure PHP forSQL Server DriverSQL Server Driver
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
8/16
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
9/16
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
10/16
LetsLetsTakeTakeAA
Look Look
Installing and TestingInstalling and Testingan A pplicationan A pplication
Installing and TestingInstalling and Testingan A pplicationan A pplication
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
11/16
IT Pro Momentum Program
A Microsoft program focused on supporting early adoptersA Microsoft program focused on supporting early adopters IT professionals who bet on the newest technologies to driveIT professionals who bet on the newest technologies to drivebusiness value for their companiesbusiness value for their companiesIs IT Pro Momentum right for you?Is IT Pro Momentum right for you?
Interested in learning more about the newest MicrosoftInterested in learning more about the newest Microsofttechnologies?technologies?Need help to evaluate different Microsoft products andNeed help to evaluate different Microsoft products andfeatures?features?W illing to test and pilot in production Microsoft beta products?W illing to test and pilot in production Microsoft beta products?W
ould like to have access to exclusive forums and MicrosoftW
ould like to have access to exclusive forums and Microsoftproduct support?product support?If you answered yes for all the questions above, IT ProIf you answered yes for all the questions above, IT ProMomentum can help!Momentum can help!EmailEmail [email protected]@microsoft.com for more informationfor more information
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
12/16
Call to A ctionCall to A ction
Download and install Windows Server 2008Download and install Windows Server 2008Download SQL Server 2008Download SQL Server 2008
http://www.microsoft.com/sqlserver/2008/en/us/thttp://www.microsoft.com/sqlserver/2008/en/us/trialrial--software.aspxsoftware.aspxhttp://www.microsoft.com/express/sql/download/ http://www.microsoft.com/express/sql/download/
See the SQL Server 2008 Virtual Labs atSee the SQL Server 2008 Virtual Labs athttp://www.microsoft.com/sqlserver/2008/en/us/virthttp://www.microsoft.com/sqlserver/2008/en/us/virt
ualual--labs.aspxlabs.aspxContactContact [email protected]@microsoft.com for the IT Profor the IT ProMomentum ProgramMomentum Program
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
13/16
EndEnd--of of--thethe--Road Prize DrawingRoad Prize Drawing
Grand PrizeGrand Prize -- One LenovoOne Lenovo ThinkpadThinkpad T61pT61pLaptopLaptop approx value $1700.00approx value $1700.00First PlaceFirst Place -- One Xbox 360 Video GameOne Xbox 360 Video GameEntertainment SystemEntertainment System - - $300.00$300.00Second PlaceSecond Place -- One 12GB Zune DigitalOne 12GB Zune DigitalMedia PlayerMedia Player - - $250.00$250.00Third PlaceThird Place -- One 8 GB Zune DigitalOne 8 GB Zune DigitalMedia PlayerMedia Player - - $150.00$150.00
http://technetevents.com/interop/rules.htmhttp://technetevents.com/interop/rules.htm
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
14/16
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
15/16
Resources
SQL 2005 Client ConnectivitySQL 2005 Client Connectivityhttp://www.microsoft.com/downloads/details.aspx?FamilyId=50b97994http://www.microsoft.com/downloads/details.aspx?FamilyId=50b97994- -84538453--49984998--82268226--fa42ec403d17&displaylang=enfa42ec403d17&displaylang=enSample DatabasesSample Databaseshttp://msftdbprodsamples.codeplex.com/Release/ProjectReleases.aspx?Relehttp://msftdbprodsamples.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=18407aseId=18407Sample A pplicationSample A pplication http://msdn.microsoft.com/enhttp://msdn.microsoft.com/en- -us/library/cc296196.aspxus/library/cc296196.aspxSystem Requirements (SQL Server 2005 Driver for PHP)System Requirements (SQL Server 2005 Driver for PHP)http://msdn.microsoft.com/enhttp://msdn.microsoft.com/en- -us/library/cc296170(SQL.90).aspxus/library/cc296170(SQL.90).aspxDownload latest "Stable Release" of PHPDownload latest "Stable Release" of PHP http://www.php.nethttp://www.php.netPHP Driver for SQLPHP Driver for SQLhttp://www.microsoft.com/downloads/details.aspx?FamilyId=61BF87E0http://www.microsoft.com/downloads/details.aspx?FamilyId=61BF87E0- -
D031D031--466B466B--B09AB09A--6597C21A2E2A&displaylang=en6597C21A2E2A&displaylang=en
8/6/2019 Using PHP With SQL Server 2008 - Customer Ready
16/16
More Resources
SQL 2005 Native Client (connects to 2005 and 2008 server)SQL 2005 Native Client (connects to 2005 and 2008 server)http://download.microsoft.com/download/2/7/c/27c60d49http://download.microsoft.com/download/2/7/c/27c60d49- -6dbe6dbe--423e423e--9a9e9a9e--1c873f269484/sqlncli.msi1c873f269484/sqlncli.msiMicrosoft SQL Server 2008 Feature Pack, A ugust 2008 (list of Microsoft SQL Server 2008 Feature Pack, A ugust 2008 (list of downloads)downloads)http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EFhttp://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF- -BA29BA29--4A434A43--8D698D69--A2BED18FE73C&displaylang=enA2BED18FE73C&displaylang=enFeature Pack for Microsoft SQL Server 2005Feature Pack for Microsoft SQL Server 2005 - - February 2007February 2007http://www.microsoft.com/downloads/details.aspx?FamilyId=50b97994http://www.microsoft.com/downloads/details.aspx?FamilyId=50b97994- -84538453--49984998--82268226--fa42ec403d17&displaylang=enfa42ec403d17&displaylang=en
NonNon--Express SQL Sample Code and DBsExpress SQL Sample Code and DBs CodePlexCodePlex Web siteWeb sitehttp://www.codeplex.com/SqlServerSampleshttp://www.codeplex.com/SqlServerSamplesSample databases and sample code for SQL Server Express, seeSample databases and sample code for SQL Server Express, seeDatabases and Samples OverviewDatabases and Samples Overviewhttp://go.microsoft.com/fwlink/?LinkId=110391http://go.microsoft.com/fwlink/?LinkId=110391