Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

Installing PHP on Windows

By Michael J. Ross
2008-03-05


PHP Already Installed?

If this is not the first time that you have installed PHP on this particular partition on your PC (since it was created), then you may have a leftover instance of PHP. In that case, it would be best to locate that old version. Check in the directories that you typically use for applications, such as the default Windows installation directory, "C:\Program Files".

If your PC does have an earlier version, then you may wish to save the PHP configuration file, php.ini, before removing the leftover version of PHP. Even though you will be creating a new configuration file — and we will cover that later in this tutorial — it is usually helpful to be able to refer to any customizations you had made in the past. Note that the file is not necessarily stored in the PHP installation directory, as you might expect, but could be anywhere on disk. Most installation guides direct readers to place that configuration file in C:\WINDOWS, so it may be found there.

Delete the old PHP installation directory, or directories if you tried multiple versions of PHP. It is always safer to start with a clean install, so you can be completely sure that any difficulties are not being caused by leftover files that are incompatible with the new version that you are trying to install.



Tutorial Pages:
» Introduction
» PHP Already Installed?
» Downloading PHP
» Testing PHP
» Adding MySQL
» MySQL Versions of DLLs
» XAMPP


Related Tutorials:
» Port Scanning and Service Status Checking in PHP
» Web Database Access from Desktop Applications
» CubeCart 3.0 Installation and Configuration
» PHP Site Search Made Easy
» Installing and Configuring Drupal 6.1
» Desktop Application Development with PHP-GTK

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources