|
PHP Tutorial Home
Basic PHPPHP IntroductionPHP Installation PHP Syntax PHP Variables PHP Form Variables PHP If Statements PHP Switch Statements PHP Arrays PHP While Loops PHP For Loops PHP Operators PHP Functions Advanced PHPPHP IncludePHP Upload File PHP File PHP Mail PHP Database Driven Website PHP Summary Got a MySpace Page?Get "www.yourname.com" for your MySpace page. Learn how >>. |
PHP InstallationIf you don't have PHP installed on your computer, here are your best options:
You may already have a PHP hosting provider. If this is the case, all you need to do is upload your PHP files the same way you would upload any HTML file. If you don't have a hosting provider, check out these shared hosting reviews for a comparison of some of the top shared hosting providers. You will also find links to dedicated hosting and VPS hosting reviews. Downloading PHPEven if you have a PHP hosting provider, I recommend that you install PHP on your own local environment anyway. That way, you'll become more familiar with PHP, plus, you should always have a development environment that is separate to your production environment. You can download PHP from the PHP website here: To assist with the installation, you can view the PHP documentation here: Or, you can jump straight to the English version of the installation notes here: Installing a Web ServerIf your machine doesn't have a web server installed, you will need to install one before you install PHP. There are many different web servers available to choose from, so you need to choose which one you prefer. Two of the more popular web servers are:
If you're using Windows Server or Windows XP, it's possible your machine already has IIS installed. You can check to see if you have a web server installed by looking under "Administration Tools" for "Internet Information Services". You can usually find IIS at either Start > Program Files > Administration Tools or Start > Control Panel > Administration Tools. If it's not installed, you may find that you can add IIS as an optional Windows component. To do this:
This should install IIS for you. Once you've installed IIS, open a browser and type http://localhost. This should display the default IIS homepage. You can change this by replacing the files in the default directory (or changing the default directory location). The default directory is normally at C:\Inetpub\wwwroot. This is where you can place your .php files. Enjoy this website?
Oh, and thank you for supporting Quackit! |
Featured Template:
(Build your websites in minutes!) |