Chapter 2 Answers

  1. WAMP stands for “Windows, Apache, MySQL, and PHP,” while the M in MAMP stands for Mac instead of Windows and the L in LAMP stands for Linux. They all refer to a complete solution for hosting dynamic web pages.

  2. Both 127.0.0.1 and http://localhost are ways of referring to the local computer. When a WAMP or MAMP is properly configured, you can type either into a browser’s address bar to call up the default page on the local server.

  3. FTP stands for File Transfer Protocol. An FTP program is used to transfer files back and forth between a client and a server.

  4. It is necessary to FTP files to a remote server in order to update them, which can substantially increase development time if this action is carried out many times in a session.

  5. Dedicated program editors are smart and can highlight problems in your code before you even run it.

Get Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.