Lab #9 : LAMP
This lab applies concepts learned throughout the tutorial. Here you’ll install the Zend Community Server 4.x, and run through two exercises deploying a PHP web application. The application demonstrates uploading large text and binary image files.
LAMP (Linux, Apache, MySQL, Perl, PHP, Python) has many derivative labels. It is a platform that deploys Apache Modules instead of CGI (Common Gateway Interface) Server-Side Includes (SSIs). In lieu of Java, C#, or C++, this stack uses common scripting languages, like Perl, PHP, or Python. They each have benefits and hurdles but they’re free of licensing expense to companies that deploy them.
The following are the most widely used:
- MAMP – Mac OS X, Apache, MySQL, and Perl, PHP, or Python
- OLAP – Oracle, Linux, Apache, and Perl, PHP, or Python
- OWAP – Oracle, Windows, Apache, and Perl, PHP, or Python
Objectives ↓
These are the lab objectives. First, you’ll need to download and install the Zend Community Server, 4.x (please note that point releases will change some screen shots and directions). You’ll follow instructions found in the Oracle and PHP and MySQL and PHP web pages. They provide code that you deploy, configure and test. The lab requires you to do all three and demonstrate that successful deployment to complete the lab objectives.
Group Objectives
Group assignments are cooperative situations where you should learn from one another. Each team member should engage and type solution components individually. This tends to maximize the student learning opportunity. You should avoid the “expert and followers” paradigm, and become cooperative and interactive problem solvers. The “expert and followers” paradigm is where one person in a group does the work and learns, while others look over the shoulder at the work without truly understanding it. Team members become interactive problem solvers when they collaborate and work together on solving problems.
If something comes up, like an illness or excused absence, you may share files. The caution here is that the student receiving the work must master the concepts in the material before submitting the work to the instructor. The instructor may interview the student to determine their level of mastery and post group credit that may differ from other team members who performed the work.
- Learn how to install Zend Community Server, 4.x.
- Learn how to install, stage, configure, test, and deploy Oracle and PHP.
Individual Objectives
Individual assignments are situations where you apply the generalized concepts acquired in the group exercise, and transfer your skills to another database engine. You may ask questions but you should only receive general concepts, principles, or directions to published materials (such as the product documentation found in the resources). Likewise, those are the types of answers you should provide when asked questions by your peers. You should not share files in this part of the lab.
- Learn how to install, stage, configure, test, and deploy MySQL and PHP.
Resources ↓
These are the lab resources.
Deliverables ↓
These are the lab deliverables.
Group Deliverables
Groups should demonstrate to the instructor or lab assistant during class time the following:
- Every team member has a working installation of the Oracle and PHP LAMP stack.
- Every team member has configured a OLAP or OWAP implementation.
- Every team member can confidently describe what’s happening in the PHP program and architecture.
Individual Deliverables
Individuals should demonstrate to the instructor or lab assistant during class time the following:
- Each student should have a working installation of MySQL and PHP LAMP stack.
- Each student should have configured a LAMP, MAMP, or WAMP implementation.
- Each student should confidently describe what’s happening in the PHP program and architecture.