1. Computing & Technology

Discuss in my forum

How to Install PHP on a Windows Computer

By , About.com Guide

See More About:

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!

©2012 About.com. All rights reserved.

A part of The New York Times Company.