Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Installation and Testing.

Slides:



Advertisements
Similar presentations
Agenda Web Application Web Page development WAMP
Advertisements

Web Application Server Apache Tomcat Downloading and Deployment Guide.
© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Building Web Pages With Microsoft Office. Introduction This tutorial is for the beginning web builder. It utilizes software that you already have, Microsoft.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Laboratory 1: Introduction to Relational.
Multiple Tiers in Action
P2-S1 MySQL 2003 SJSU -- CmpE-- M.E. Fayad Database Design Dr. M.E. Fayad, Professor Computer Engineering Department, Room #283I College of Engineering.
Website Development & Management Getting Ready for the Server-Side CIT Fall Instructor: John Seydel, Ph.D.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Publishing a Web Page at the University of DE FREC 135.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
Introduction to Web Programming SCSC Mentoring Special Class Made Harta Dwijaksara –
Installing Tomcat on Windows  You may find the Tomcat install shield has some problems recognizing JSDK 1.4 beta installations.  You.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
Linux Operations and Administration
Installing and Configuring Tomcat A quick guide to getting things set up on Windows.
Adobe Dreamweaver CS3 Revealed CHAPTER ONE: GETTING STARTED WITH DREAMWEAVER.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
INTRODUCTION TO DREAMWEAVER 8. What we already know…  Design basics  Contrast  Repetition  Alignment  Repetition  HTML.
IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.
CPSC 203 Introduction to Computers Lab 21, 22 By Jie Gao.
Web Technologies Website Development Trade & Industrial Education
Connecting to USF Network for Web Site SSH Secure Shell is the FTP program you will use to download your http files onto the USF server. To get the SSH.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES LECTURE 5_1 George Koutsogiannakis/ Summer
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
Apache, MySQL and PHP Installation and Configuration Chapter 3 PHP Installation and Configuration.
Website Development & Management Getting Started with Databases Instructor: John Seydel, Ph.D. CIT Fall
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
1 Working with MS SQL Server Textbook Chapter 14.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
PHP and mySQL 2/9/2007. What is PHP?  From php.net “PHP is a widely-used general- purpose scripting language that is especially suited for Web development.
 Database Administration Installing Oracle 11g & Creating Database.
Publishing a Web Page at the University of DE APEC 135.
Packaging for Voracity Solutions Control Panel David Turner.
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
June 23, 2001Database Creation Review and Exercises1 Building an Application - Part I -
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Installing MySQL BCIS 3680 Enterprise Programming.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
Lecturer : 이선아  APM  Apache  PHP  MySQL.
Setting up Dreamweaver to use your local WAMP testing Server
Unit 1 – Web Concepts Instructor: Brent Presley.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Subversion (SVN) is a widely used version control system and an essential piece of the MIMES collaborative modeling environment. It allows us to manage.
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
Web Technology Seminar
2nd year Computer Science & Engineer
Fundamental of Databases
MySQL Installation Tarik Booker CS 122.
Chapter A - Getting Started with Dreamweaver MX 2004
Introduction to Web programming
Microsoft Access 2003 Illustrated Complete
BASICS 1 Windows XP.
Module 1 Introduction to PHP 11/30/2018 CS346 PHP.
MSIS 655 Advanced Business Applications Programming
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Install MySQL Community Server and MySQL Workbench
Web Application Development Using PHP
Presentation transcript:

Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Installation and Testing

Open Source Server Side Scripting 2 ECA 236 PHP / MySQL / Server Local Browser Remote Server PHP engine.php Request Response MySQL DB.html SQL results

Open Source Server Side Scripting 3 ECA 236 MySQL  database of choice for majority of PHP users  efficiency and ease of use  free  runs on multiple platforms  documentation  software consists of 3 pieces  MySQL server  MySQL monitor  numerous utilities

Open Source Server Side Scripting 4 ECA 236 Installing MySQL  MySQL version 5.0, distributed by MySQL AB   dev.mysql.com/downloads  Current Release  Windows Downloads  Windows Essentials: contains essential elements to run MySQL on Windows  Extract files, double click setup.exe  Install MySQL, noting any relevant information  To start MySQL navigate to C:\mysqlbin or C:\Program Files\MYSQL\  Double click WinMySQLadmin to start MySQL server with GUI interface

Open Source Server Side Scripting 5 ECA 236 PATH  Start  R click My Computer L click Properties  Advanced  Environment Variables  Path  Edit  Add C:\mysql\bin or proper path

Open Source Server Side Scripting 6 ECA 236 Testing MySQL  Using the command line  Open Command Prompt  Change Directory to c:\mysql\bin unless PATH has been changed  if mysql was installed as a service, it is already running in the background  otherwise, type mysqld to start the server  Create a test Database  mysql monitor: type mysql  at this point, all commands must end with a ;

Open Source Server Side Scripting 7 ECA 236 Testing MySQL cont … testDB test_table test_idtest_note 1This is note 1 99And another note 13And yet another

Open Source Server Side Scripting 8 ECA 236 Testing MySQL cont …  Type use testDB;  Create a test table: CREATE table test_table (test_id INT, test_note TEXT);  Verify creation of table: SHOW tables;  Verify field names and types: EXPLAIN test_table;

Open Source Server Side Scripting 9 ECA 236 Testing MySQL cont …  Insert a row: INSERT INTO test_table VALUES (‘1’, ‘This is note 1’);  Insert another row: INSERT INTO test_table VALUES (‘99’, ‘And another note’);  Insert one more row: INSERT INTO test_table VALUES (‘13’, ‘And yet another’);  Select data from test_table: SELECT * FROM test_table;  Order by ID: SELECT * FROM test_table ORDER BY test_id DESC;

Open Source Server Side Scripting 10 ECA 236 Installing Xitami  download and install Xitami from my web site  if another web server (such as IIS) is already running, we must change the port from the default of 80 to 88  open xitami.cfg in the C:\Xitami directory  open defaults.cfg  add the following lines to default.cfg: [Server] portbase=8

Open Source Server Side Scripting 11 ECA 236 Installing Xitami cont …  Start Xitami (green icon in taskbar)  Point your browser to  Bookmark this page in Favorites  Links  All web pages must be stored in the webpages folder of Xitami, or its subfolders

Open Source Server Side Scripting 12 ECA 236 Installing PHP 5. x. x  Current version is PHP version 5.x.x   Download Windows Binaries  PHP 5.x.x zip package  Create a directory named C:\php  Extract files to this directory  resave a copy of php.ini-recommended to php.ini  open php.ini uncomment extension=php_mysql.dll (app. line 657)  Set PATH  C:\php\bin C:\php\ext  Restart computer

Open Source Server Side Scripting 13 ECA 236 Installing PHP  If you want to install an earlier version of PHP   Download Windows Binaries  PHP installer  Extract files  follow directions  set PATH

Open Source Server Side Scripting 14 ECA 236 Testing PHP  Xitami  make config changes to defaults.cfg or defaults.aut if necessary  In defaults.cfg add: [Filter].php=c:\php\ php.exe  All php files must be run from C:\Xitami\webpages directory  Access server through localhost:88 or :88  When typing in URL, do not add “webpages” to URL

Open Source Server Side Scripting 15 ECA 236 Testing PHP cont …  In php.ini, set cgi.force_redirect to 0 make sure it is not commented out with a semicolon  In a text editor create an HTML document with the following code in the  Name it phpinfo.php, save in C:\Xitami\webpages  Run it: