Cover by Lynn Beighley, Michael Morrison

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Appendix B. Set up a Development Environment: A place to play

image with no caption

You need a place to practice your newfound PHP and MySQL skills without making your data vulnerable on the web. It’s always a good idea to have a safe place to develop your PHP application before unleashing it on the world (wide web). This appendix contains instructions for installing a web server, MySQL, and PHP to give you a safe place to work and practice.

Create a PHP development environment

Before you can put your finished application on the web, you need to develop it. And it’s never a good idea to develop your web application on the Web where everyone can see it. You can install software locally that lets you build and test your application before you put it online.

There are three pieces of software you’ll need on your local computer to build and test PHP applications:

  1. A web server

  2. PHP

  3. A MySQL database server

PHP isn’t a server; it’s a set of rules that your web server understands that allow it to interpret PHP code. Both the web server and the MySQL server are executable programs that run on a computer.

Keep in mind that we’re talking about setting up your local computer as a web server for PHP development. You’ll ultimately still need an online web server to upload your finished application to so that other people can access and use it.

Find out what you have

NOTE: This appendix covers Windows 2000, XP, Vista, Windows Server ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required