New Document

To begin working with PHP you must first have access to either of the following:

  • A web hosting account that supports the use of PHP web pages and grants you access to MySQL databases. If you do not have a host, but are interested in signing up for one, we recommend that you first read our Web Host Guide to educate yourself about web hosting and avoid getting ripped off.

  • Have PHP and MySQL installed on your own computer. Read this lesson thorougly for more information on installing PHP.

  • Although MySQL is not absolutely necessary to use PHP, MySQL and PHP are wonderful complements to one another and some topics covered in this tutorial will require that you have MySQL access.

Installing PHP

For those who are experienced enough to do this yourself, simply head over to - Downloads and download the most recent version of PHP.

However, if you are like most of us, you will most likely want to follow a guide to installing PHP onto your computer. These guides are kindly provided by based on the operating system that you are using.

  • PHP Installation on Linux or Unix with Apache
  • PHP Installation on Mac OS X with Apache
  • PHP Installation on Windows NT/2000/XP with IIS
  • PHP Installation on Windows NT/2000/XP with Apache
Apache Configuration:

If you are using Apache as a Web Server then this section will guide you to edit Apache Configuration Files.

Just Check it here : PHP Configuration in Apache Server

PHP.INI File Configuration:

The PHP configuration file, php.ini, is the final and most immediate way to affect PHP's functionality.

Just Check it here: PHP.INI File Configuration

Windows IIS Configuration:

To configure IIS on your Windows machine you can refer your IIS Reference Manual shipped along with IIS.

Installing MySQL

As we mentioned before, MySQL is not a requirement to use PHP, however they often go hand in hand.

Visit MySQL's MySQL Installation Guide for help on installing MySQL.

Previous                                                                                                                                                       Next

Back to Top