PHP Installation

What do I need?

To start using PHP, you can:

  • Use a web host that supports PHP and MySQL
  • Install a web server on your PC, then install PHP and MySQL.

Use a web host that supports PHP

If your server supports PHP, then you do not need to do anything.

Just create a .php file and upload it to the web directory. The server will automatically parse them.

You do not need to compile or install any additional tools.

Since PHP is free, most web hosts support PHP.

Run PHP on your PC

However, if your server does not support PHP, then you must:

  • Install a web server
  • Install PHP
  • Install a database, such as MySQL

The official PHP website (PHP.net) provides installation instructions for PHP:http://php.net/manual/en/install.php

Comments

Tip:If you need to set up and run PHP immediately on the Windows platform, you can also:

Download WebMatrix