Getting Started with Web Servers, PHP, and the Eclipse PDT Appendix I DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.

Slides:



Advertisements
Similar presentations
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall
Advertisements

File Management Chapter 3
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
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.
With Microsoft ® Office 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office.
By Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson, Linda Lau, Jerri Williams Chapter 8 Get Connected 1 Copyright © 2014.
Database Processing Applications Chapter Seven DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
SQL Views Chapter 3A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 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 Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 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.
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.
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,
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.
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.
GO! All In One 2/E By: Shelley Gaskin, Nancy Graviett, Debra Geoghan Chapter 5 Using Internet Explorer, Microsoft Cloud Computing, and OneNote Copyright.
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.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 2 Workshop 4 Accessing, Maintaining, and Presenting Information Series.
Computers Are Your Future Twelfth Edition Spotlight 2: File Management Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 1.
GO! All In One 2/E By: Shelley Gaskin, Nancy Graviett, Debra Geoghan Chapter 2 Getting Started with Windows 8.1 Copyright © 2015 Pearson Education, Inc.
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 4: Share, Compare and Document Robert Grauer, Keith.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith.
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.
GO! with Office 2013 Volume 1 By: Shelley Gaskin, Alicia Vargas, and Carolyn McLellan Access Chapter 3 Forms, Filters, and Reports.
With Windows 7 Introductory© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Windows 7 Introductory Chapter 3 Advanced File Management and Advanced.
Integrating Word, Excel,
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Skills for Success with Microsoft Office 2013 Volume 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Kris Townsend, Catherine.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit,
Skills for Success with Microsoft Office 2013 Volume 1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Kris Townsend, Catherine.
+ Connecting to the Web Chapter 7. + Chapter Objectives Understand and be able to set up Web database processing Learn the basic concepts of Extensible.
With Microsoft Excel 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2010.
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.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix I: Getting Started with Web Servers, PHP and the.
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.
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.
Exploring Microsoft Office Access 2007
Obtaining the Required Tools
Exploring Microsoft Office 2013 Word Comprehensive
Database Processing Applications
Microsoft 365 Business Technical Fundamentals Series
Presentation transcript:

Getting Started with Web Servers, PHP, and the Eclipse PDT Appendix I DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition

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. Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall

Appendix Objectives Know how to install and manage the Microsoft IIS Web server Understand the file system structure used by IIS Know how to use the Microsoft Internet Explorer Web browser Know how to download and store files from Web sites Know how to download and install the Java Runtime Environment (JRE) KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall I-3

Appendix Objectives Know how to download, install, and use the Eclipse, PHP Development Tools (PDT) Know how to download, install, and use PHP KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall I-4

The IIS Web Server Opening Control Panel KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-5

The IIS Web Server The Control Panel Window KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-6

The IIS Web Server The Programs Window KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-7

The IIS Web Server The Windows Features Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-8

The IIS Web Server The Selected Internet Information Services Features KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-9

The Internet Information Service (IIS) Manager The Administrative Tools Window KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-10

The Internet Information Service (IIS) Manager The Short-cut Menu KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-11

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, 12th Edition © 2012 Pearson Prentice Hall I-12

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. 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. KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-13

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 of 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, 12th Edition © 2012 Pearson Prentice Hall I-14

32-Bit versus 64-Bit ODBC IV 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 versions. KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-15

The Internet Information Service (IIS) Manager The New Program Icons KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-16

The Internet Information Service (IIS) Manager The IIS Manager Itself KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-17

The Internet Information Service (IIS) Manager The Default Web Site KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-18

The Internet Information Service (IIS) Manager The IIS inetpub Directory Structure and the wwwroot Folder KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-19

The Internet Information Service (IIS) Manager The Default Web Site Maps to the wwwroot Folder KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-20

The Internet Information Service (IIS) Manager The Default Web Site in the Web Broswer KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-21

Web Site Security Management The Folder and Search Options Command KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-22

Web Site Security Management The View Page in the Folder Options Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-23

Web Site Security Management The Use Sharing Wizard (Recommended) Setting KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-24

Web Site Security Management The Properties Command KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-25

Web Site Security Management The wwwroot Properties Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-26

Web Site Security Management The Users Group Permissions KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-27

Web Site Security Management Editing the Users Group Permissions KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-28

Web Site Security Management The Final Users Group Permissions KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-29

Installing the Java Runtime Environment (JRE) The Java JRE Web Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-30

Installing the Java Runtime Environment (JRE) The Java Web Site Determines the Correct Version of the Java JRE KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-31

Installing the Java Runtime Environment (JRE) The Do You Want to Run or Save {Filename} Message Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-32

Installing the Java Runtime Environment (JRE) The User Account Control Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-33

Installing the Java Runtime Environment (JRE) The Java Setup Dialog Box Welcome Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-34

Installing the Java Runtime Environment (JRE) The Java Setup Dialog Box Complete Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-35

Installing the Eclipse PDT The PDT All In One / Eclipse PHP Packages KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-36

Installing the Eclipse PDT The Zend PDT Downloads Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-37

Installing the Eclipse PDT The C:\Download\Eclipse\Eclipse-PDT-All-In-One Folder KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-38

Installing the Eclipse PDT The Extract Compressed (Zipped) Folders Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-39

Installing the Eclipse PDT The Eclipse-PHP Icon on the Windows Start Menu KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-40

Installing the Eclipse PDT The Open File – Security Warning Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-41

Installing the Eclipse PDT The Eclipse Splash Screen KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-42

Installing the Eclipse PDT The Workspace Launcher Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-43

Installing the Eclipse PDT The Select Workspace Directory Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-44

Installing the Eclipse PDT The Select Workspace Directory Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-45

Installing the Eclipse PDT The Windows Security Alert Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-46

Installing the Eclipse PDT The Eclipse PDT Welcome Screen KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-47

Installing the Eclipse PDT The PHP – Eclipse Workbench Window KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-48

Installing the Eclipse PDT Exiting the Eclipse PDT KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-49

Installing PHP Downloading PHP KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-50

Installing PHP Starting the PHP Installation KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-51

Installing PHP The PHP Setup Wizard KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-52

Installing PHP The End-User Agreement KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-53

Installing PHP The Destination Folder Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-54

Installing PHP The Web Server Setup Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-55

Installing PHP The Choose Items to Install Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-56

Installing PHP The Installing PHP Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-57

Installing PHP The User Account Control Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-58

Installing PHP The Completed the PHP Setup Wizard Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-59

Testing PHP The File | New | PHP Project Command KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-60

Testing PHP The PHP Project Dialog Box—New PHP Project Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-61

Testing PHP The PHP Project Dialog Box— PHP Include Path Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-62

Testing PHP The PHP Project Dialog Box— PHP Build Path Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-63

Testing PHP The DBC-e06-PHP-Test Project KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-64

Testing PHP The File | New | PHP File Command KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-65

Testing PHP The New PHP File Dialog Box—New PHP File Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-66

Testing PHP The New PHP File Dialog Box—Select PHP Template Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-67

Testing PHP The phptest.php Web page code KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-68

Testing PHP The phptest.php PHP code KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-69

Testing PHP Expanding the DBC-e06-PHP-Test Project Structure KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-70

Testing PHP The Short-cut Menu KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-71

Testing PHP The Export Dialog Box—Select Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-72

Testing PHP The Select Page—File System Export Destination KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-73

Testing PHP The Export Dialog Box—File System Page KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-74

Testing PHP The Export to Directory Dialog Box KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-75

Testing PHP The Export Dialog Box—Completed Settings KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-76

Testing PHP The PHP Information Page in the Web Browser KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-77

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, 12th Edition © 2012 Pearson Prentice Hall I-78

Managing the PHP Configuration The PHP *.dll Files Installed by the Windows Installer for PHP KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-79

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, 12th Edition © 2012 Pearson Prentice Hall I-80

Modifying the PHP Installation The Full Set of PHP *.dll Files KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-81

Modifying the PHP Installation The Dynamic Extensions in the php.ini Configuration File KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-82

Managing the PHP Configuration Installing the Microsoft SQL Server Drivers for PHP 3.0 Download the installation file from spx?id= spx?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, 12th Edition © 2012 Pearson Prentice Hall I-83

Modifying the PHP Installation The Dynamic Extension and Help Files KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-84

Managing the PHP Configuration Installing the Microsoft SQL Server Drivers for PHP 3.0 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, 12th Edition © 2012 Pearson Prentice Hall I-85

Modifying the PHP Installation Opening the php.ini File in Microsoft Notepad KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-86

Modifying the PHP Installation The Added Configuration Files in php.ini KROENKE AND AUER - DATABASE PROCESSING, 12th Edition © 2012 Pearson Prentice Hall I-87

Managing the PHP Configuration Using the Microsoft SQL Server Drivers for PHP 3.0 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, 12th Edition © 2012 Pearson Prentice Hall I-88

Getting Started with Web Servers, PHP, and the Eclipse PDT End of Presentation on Appendix I DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition