David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix I: Getting Started with Web Servers, PHP and the.

Slides:



Advertisements
Similar presentations
File Management Chapter 3
Advertisements

With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Database Administration in Microsoft Access The Access Workbench: Section Six DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
INSERT BOOK COVER 1Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Getting Started with Windows 7 by Robert.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 Committed to Shaping the Next Generation of IT Experts. Office Fundamentals Robert.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Eric Cameron, Cyndi.
RELAIS Installation Monica Scannapieco – Luca Valentino (ISTAT – Software Development Service) Training on the job in Record linkage, Central Statistical.
With Microsoft ® Office 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
PowerPoint 2002 Linking Video in Presentation and Delivering Presentation on the Road.
Eclipse Introduction Dwight Deugo Nesa Matic
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Database Processing Applications Chapter Seven DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Getting Started with Oracle MySQL 5.5 Community Server Edition Appendix C DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Getting Started with Microsoft Visio 2010 Appendix G DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Getting Started with Web Servers, PHP, and the Eclipse PDT Appendix I DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 10 Using Macros and SQL in Access 1.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
Getting Started with Microsoft Access The Access Workbench: Section One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 12-1 David M. Kroenke’s Chapter Twelve: ODBC Database Processing: Fundamentals,
16.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 16: Examining Software Update.
Guide to MCSE , Enhanced 1 Activity 10-1: Restarting Windows Server 2003 Objective: to restart Windows Server 2003 Start  Shut Down  Restart Configure.
Getting Started with Oracle Database 11g Release 2 Express Edition Appendix B DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
With Internet Explorer 8© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Go! with Internet Explorer 8 Getting Started.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
9.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
With Windows 7 Comprehensive© 2012 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Windows 7 Comprehensive.
1. Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 2 Technology in Action Technology in Focus: Computing Alternatives.
With Windows 7 Getting Started© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Windows 7 Getting.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
GO! All In One 2/E By: Shelley Gaskin, Nancy Graviett, Debra Geoghan Chapter 3 Introduction to Microsoft Office 2013 Features Copyright © 2015 Pearson.
1 Technology in Action Chapter 4 Application Software: Programs That Let You Work and Play Copyright © 2011 Pearson Education, Inc. Publishing as Prentice.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 11 Committed to Shaping the Next Generation of IT Experts. Windows Vista Robert Grauer, Lynn.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Using Visual Basic 6.0 to Create Web-Based Database Applications
IT 211 Project Integration and Deployment Lab #11.
Computers Are Your Future Twelfth Edition Spotlight 2: File Management Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 1.
Apache, MySQL and PHP Installation and Configuration Chapter 3 PHP Installation and Configuration.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Four Windows Server 2008 Remote Desktop Services,
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
Hands-On Microsoft Windows Server Implementing Microsoft Internet Information Services Microsoft Internet Information Services (IIS) –Software included.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
+ Connecting to the Web Chapter 7. + Chapter Objectives Understand and be able to set up Web database processing Learn the basic concepts of Extensible.
PC Maintenance: Preparing for A+ Certification Chapter 28: Working with Applications.
INSERT BOOK COVER 1Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Getting Started with VBA for Microsoft Office 2010 by.
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan Introduction to Microsoft Office 2013 Features.
…the basics…. Wildland Fire Information and Technology Server Requirements ● Windows 7 Professional or Windows 2003/2008 Server ● Windows 8/10 (discussion)
© 2013 Pearson Education, Inc. Publishing as Prentice Hall1 with Microsoft ® Office for Mac 2011 Common Features Using the Common Features of Microsoft.
1 /17 Installing and Configuring TaxWise © 2006, Universal Tax Systems, Inc. All Rights Reserved. Installing and Configuring TaxWise Objectives –In this.
Computers Are Your Future Tenth Edition Spotlight 5: Microsoft Office Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix A: Getting Started with Microsoft Access 2013.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix E: Getting Started with MySQL Workbench Data Modeling.
Database Processing Applications Chapter Seven DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 7 th Edition.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office 2010 Fundamentals by Robert Grauer, Lynn Hogan, and Mary.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
David M. Kroenke and David J. Auer Database Processing: Fundamentals, Design, and Implementation Chapter Ten: Managing Databases with SQL Server 2012,
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Cyndi Krebs, Eric Cameron, Jason Davidson,
Computers Are Your Future Tenth Edition Spotlight 4: File Management Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall1.
Obtaining the Required Tools
Dynamic Web Page A dynamic web page is a kind of web page that has been prepared with fresh information (content and/or layout), for each individual viewing.
Exploring Microsoft Office 2013 Word Comprehensive
Database Processing Applications
Microsoft 365 Business Technical Fundamentals Series
Presentation transcript:

David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix I: Getting Started with Web Servers, PHP and the Eclipse PDT

Appendix Objectives To install and manage the Microsoft IIS Web server To understand the file system structure used by IIS To know how to use the Microsoft Internet Explorer Web browser To know how to download and store files from Web sites To know how to download and install the Java Runtime Environment (JRE) To download, install and use the Eclipse PHP Development Tools (PDT) To download, install and use PHP KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-2

The IIS Web Server Opening Control Panel KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-3

The IIS Web Server The Control Panel Window KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-4

The IIS Web Server The Programs Window KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-5

The IIS Web Server The Windows Features Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-6

The IIS Web Server The Selected Internet Information Services Features KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-7

The Internet Information Service (IIS) Manager The Administrative Tools Window KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-8

The Internet Information Service (IIS) Manager The Short-cut Menu KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-9

The Internet Information Service (IIS) Manager The New Program Icons in Windows 8 KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-10

32-Bit versus 64-Bit ODBC I The ODBC Data Sources program we have been using is for the 64-bit version of the ODBC data sources administration program, and will create 64-bit ODBC data sources. These will only work as long as every component in the Web application program chain is a 64-bit program. But, if any component is a 32-bit program, the 64-bit ODBC data source will not work. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-11

32-Bit versus 64-Bit ODBC II In fact, when you are building the Web database applications in this chapter, if everything seems to be correctly done but the system still does not work, the most likely cause is a 32-bit program in the chain. If you are running the Windows 7 operating system, to resolve this problem you will need to use the 32-bit version of the ODBC Data Sources program located at C:\Windows\SysWOW64\odbcad32.exe. Window 8, fortunately, make both programs available in Application Tools. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-12

32-Bit versus 64-Bit ODBC III To resolve your Web database application problem, create a 32-bit ODBC data source using OBDC Administrator, and then revise your Web page code to use that ODBC data source. For more information on the programs in the Windows\SysWOW64 folder, see the Wikipedia article on WoW64 at en.wikipedia.org/wiki/WoW64. en.wikipedia.org/wiki/WoW64 KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-13

32-Bit versus 64-Bit ODBC IV In Windows 7, the two icons for the two versions appear as shown below. Note that although the program icons are the same, the program names are different. Data Source (OBDC ) is the 64-bit version, and OBDC Administrator is the 32-bit version. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-14

The Internet Information Service (IIS) Manager The IIS Manager Itself KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-15

The Internet Information Service (IIS) Manager The Default Web Site KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-16

The Internet Information Service (IIS) Manager The IIS inetpub Directory Structure and the wwwroot Folder KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-17

The Internet Information Service (IIS) Manager The Default Web Site Maps to the wwwroot Folder KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-18

The Internet Information Service (IIS) Manager The Default Web Site in the Web Broswer KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-19

Web Site Security Management The Folder and Search Options Command KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-20

Web Site Security Management The View Page in the Folder Options Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-21

Web Site Security Management The Use Sharing Wizard (Recommended) Setting KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-22

Web Site Security Management The Properties Command KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-23

Web Site Security Management The wwwroot Properties Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-24

Web Site Security Management The Users Group Permissions KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-25

Web Site Security Management Editing the Users Group Permissions KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-26

Web Site Security Management The Final Users Group Permissions KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-27

Installing the Java Runtime Environment (JRE) The Java JRE Web Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-28

Installing the Java Runtime Environment (JRE) The Java Web Site Determines the Correct Version of the Java JRE KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-29

Installing the Java Runtime Environment (JRE) The Do You Want to Run or Save {Filename} Message Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-30

Installing the Java Runtime Environment (JRE) The User Account Control Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-31

Installing the Java Runtime Environment (JRE) The Java Setup Dialog Box Welcome Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-32

Installing the Java Runtime Environment (JRE) The Java Setup Dialog Box Complete Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-33

Installing the Eclipse PDT The PDT All In One / Eclipse PHP Packages KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-34

Installing the Eclipse PDT The Eclipse Downloads – Mirror Selection Web Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-35

Installing the Eclipse PDT The C:\Download\Eclipse\Eclipse-PDT-All-In-One Folder KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-36

Installing the Eclipse PDT The Extract Compressed (Zipped) Folders Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-37

Installing the Eclipse PDT The Zend Eclipse PDT Icon on the Windows Start Menu KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-38

Installing the Eclipse PDT The Open File – Security Warning Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-39

Installing the Eclipse PDT The Eclipse Splash Screen KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-40

Installing the Eclipse PDT The Workspace Launcher Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-41

Installing the Eclipse PDT The Select Workspace Directory Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-42

Installing the Eclipse PDT The Workspace Launcher Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-43

Installing the Eclipse PDT The Windows Security Alert Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-44

Installing the Eclipse PDT The PHP – Zend Eclipse Window KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-45

Installing the Eclipse PDT The PHP – Zend Eclipse Workbench Window KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-46

Installing the Eclipse PDT Exiting the PHP – Zend Eclipse PDT KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-47

Installing PHP Downloading PHP KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-48

Installing PHP Starting the PHP Installation KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-49

Installing PHP The PHP Setup Wizard KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-50

Installing PHP The End-User Agreement KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-51

Installing PHP The Destination Folder Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-52

Installing PHP The Web Server Setup Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-53

Installing PHP The Choose Items to Install Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-54

Installing PHP The Installing PHP Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-55

Installing PHP The User Account Control Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-56

Installing PHP The Completed the PHP Setup Wizard Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-57

Testing PHP The File | New | Local PHP Project Command KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-58

Testing PHP The Local PHP Project Dialog Box—Create a Local PHP Project Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-59

Testing PHP The New Local PHP Project Dialog Box— New PHP Project Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-60

Testing PHP The New Local PHP Project Dialog Box—Library Configuration Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-61

Testing PHP The DBP-e13-PHP-Test Project KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-62

Testing PHP The File | New | PHP File Command KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-63

Testing PHP The New PHP File Dialog Box—New PHP File Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-64

Testing PHP The New PHP File Dialog Box—Select PHP Template Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-65

Testing PHP The phptest.php Web page code KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-66

Testing PHP The phptest.php PHP code KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-67

Testing PHP Expanding the DBP-e13-PHP-Test Project Structure KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-68

Testing PHP The Short-cut Menu KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-69

Testing PHP The Export Dialog Box—Select Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-70

Testing PHP The Select Page—File System Export Destination KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-71

Testing PHP The Export Dialog Box—File System Page KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-72

Testing PHP The Export to Directory Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-73

Testing PHP The Export Dialog Box—Completed Settings KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-74

Testing PHP The PHP Information Page in the Web Browser KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-75

Managing the PHP Configuration PHP Dynamic Extension *.dll Files The Windows Installer installation installs and enables a limited set of the PHP dynamic extension *.dll files that PHP uses to extend PHP functionality to various DBMS products. *.dll files are Microsoft dynamic linked library files, which provide the ability to share program capabilities and functionalities between programs by letting each of the programs use a common *.dll file. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-76

Managing the PHP Configuration The PHP *.dll Files Installed by the Windows Installer for PHP KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-77

Managing the PHP Configuration Adding Needed PHP Dynamic Extension *.dll Files The full set of the PHP dynamic extension *.dll files can be obtained by downloading the PHP *.zip file used for manual installation. Unzip the file in a location other than the PHP directory. Copy the needed *.dll files to..\PHP\ext. Update the php.ini file. Reboot the computer. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-78

Modifying the PHP Installation The Full Set of PHP *.dll Files KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-79

Modifying the PHP Installation The Dynamic Extensions in the php.ini Configuration File KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-80

Managing the PHP Configuration Installing the Microsoft Drivers 3.0 for PHP for SQL Server Download the installation file from us/download/details.aspx?id= us/download/details.aspx?id=20098 The installation is actually a file that expands a zipped set of files when run. Run the installation file. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-81

Modifying the PHP Installation The Dynamic Extension and Help Files KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-82

Managing the PHP Configuration Installing the Microsoft Drivers 3.0 for PHP for SQL Server Copy the needed *.dll files to..\PHP\ext. –extension=php_sqlsrv_53_nts.dll –extension=php_pdo_sqlsrv_53_nts.dll Update the php.ini file. Reboot the computer. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-83

Modifying the PHP Installation Opening the php.ini File in Microsoft Notepad KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-84

Modifying the PHP Installation The Added Configuration Files in php.ini KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-85

Managing the PHP Configuration Using the Microsoft Drivers 3.0 for PHP for SQL Server To use the SQL Server drivers instead of the OBDC drivers, modify the Web page php code. –Instead of: // Execute SQL statement $RecordSet = odbc_exec($Conn,$SQL); –Use: // Execute SQL statement $RecordSet = sqlsrv_query($Conn,$SQL); KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-86

David Kroenke and David Auer Database Processing Fundamentals, Design, and Implementation (13th Edition) End of Presentation: Appendix I KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-87

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. KROENKE AND AUER - DATABASE PROCESSING, 13th Edition © 2014 Pearson Education, Inc. I-88