Preperation

In class: 

  • How to set up XAMP (Windows) and/or MAMP (Mac) for LAMP stack (Linux-Apache-MySQL-PHP)
  • To expidite development, it is helpful to server pages locally using a software stack installed and running on your own computer. Download and install one of the following webserver environments:
    • AMPPS (Mac, Windows, Linux)
    • MAMP (Mac only)
    • WAMP (Windows only)
    • XAMPP (Windows and/or Mac)
    • Linux users can install a LAMP stack, but with Linux (which puts the 'L' in "LAMP"), the whole software stack is generally already there locally, so no need to install (because Apache, MySQL, and PHP are usually also included by default on Linux distributions as well.)
  • Get the form-viewer.php file below. Run locally, run on school server, and run on localhost.

Check Your Understanding

  • Can you test form-viewer.php without uploading it to a server?