1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

How to Install PHP on a Windows Computer

By

3 of 3

Test and Configure
To test if PHP is running on your computer, you need to create a test file. The best thing to include in your test file is simply a phpinfo() function. Here is an example.

When you load your test file, you should see all the information about your PHP. If you see the code, then PHP is not active on your computers server, and may be configured wrong.

If PHP is working and you wish to change some of it's settings, you can do so by editing the php.ini file. Be sure to keep a backup of this file incase anything should happen to it, because it is needed by PHP.

Congratulations, you are now running PHP on your PC!

See More About
Related Video
Basic PHP Syntax
Using PHP With HTML
  1. About.com
  2. Technology
  3. PHP / MySQL
  4. Tools & Resoruces
  5. Install PHP on Windows

©2014 About.com. All rights reserved.