PHP Programming 101

April 27th, 2008

PHP Installation

Posted by Edi in PHP

by: Larla

Photobucket

You can download PHP and install in the windows system in http://www.php.net, which is the official Web site for PHP. After downloading. Unzip the file into a directory and that’s done.

To check if installation is okay, there are 2 execution interfaces, CLI Command Line Interface and CGI Common Gateway Interface. However, if you installed PHP in the \php directory, you can 1st try to check there.

Run “\php\php -v” command to check the Command Line Interface (CLI).

Run “\php\php-cgi -v” command to check the Common Gateway Interface (CGI).

If you see the PHP version on the screen with both commands, then the installation is okay.

With these, tips you can now try to install you PHP program and know how to check if it is installed properly.

Leave a reply