Skip to Content
Head First Mobile Web
book

Head First Mobile Web

by Lyza Danger Gardner, Jason Grigsby
December 2011
Intermediate to advanced
480 pages
12h 40m
English
O'Reilly Media, Inc.
Content preview from Head First Mobile Web

Appendix B. Set Up Your Web Server Environment: Gotta start somewhere

image with no caption

You can’t spell “mobile web” without the “web.” There are no two ways about it. You’re going to need a web server if you want to develop for the mobile web. That goes for more than just completing the exercises in this book. You need somewhere to put your web-hosted stuff, whether you use a third-party commercial web hosting service, an enterprise-class data center, or your own computer. In this appendix, we’ll walk you through the steps of setting up a local web server on your computer and getting PHP going using free and open source software.

What we need from you

To complete the exercises in this book, there are some things you’re going to need to do. Don’t worry, it’s not that bad, and we’ll show you how.

  1. You need to be able to serve web page documents (like HTML pages) and resources (images, CSS, JavaScript, etc.).

    This is the basic idea of a web server, right? So we’ll need to get some web server software and configure it.

  2. You need to be able to execute server-side PHP scripts.

    This book’s examples use the PHP (PHP: Hypertext Preprocessor) scripting language to generate dynamic content. While you won’t have to be proficient at authoring PHP, you will need to be able to run it.

  3. You need to have at least a certain amount of administrative access to your web server.

    You need to have some control over the permissions ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Head First iPhone and iPad Development, 3rd Edition

Head First iPhone and iPad Development, 3rd Edition

Dan Pilone, Tracey Pilone
Head First jQuery

Head First jQuery

Ryan Benedetti, Ronan Cranley
The Responsive Web

The Responsive Web

Matthew Carver

Publisher Resources

ISBN: 9781449324773Errata Page