Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming > PHP Programming
User Name:

Thread Tools   Display Modes
  View First Unread
Old 09-16-2013, 06:30 AM
Join Date: Jan 2009
Posts: 239
iTrader: (0)
Georgelee has a little shameless behaviour in the past
PHP Installation Guide

PHP is the best development application which is widely used by all webmaster around the world. If you are using Windows platform and using PHP as your web development application then you will have to install PHP so that you can use it. Firstly you need to extract PHP package on your local machine, usually its better to extract all package files in the same directory where you have installed Apache. Ie (C:\Program Files\Apache Group\Apache2 ).

You can also create a directory for PHP at c:\php and can extract all files of PHP.zip in this folder. Now just copy few files to your Apache directory ( C:\Program Files\Apache Group\Apache2\).

Then you need to copy following files:


You need to rename ‘php.ini-recommended’ to ‘php.ini’ and just open it in notepad and search for ‘doc_root’ just change this to: doc_root = C:\Program Files\Apache Group\Apache2\htdocs

You will have to open httpd.conf using notepad. You will get httpd.conf at C:\Program Files\Apache Group\Apache2\conf\; all you have to do is to following lines to the end of this file:

LoadModule php4_module php4apache2.dll

AddType application/x-httpd-php .php

That’s all you have successfully installed PHP on your computer.

You need to crosscheck if you have done it correctly…

You will have to follow following steps to see if you have installed PHP correctly on your machine.

Go to Start > All Programs > Apache > Configuration > Test Configuration’. Now you will get a console window which will show you briefly and then should disappear this shows that you have installed PHP successfully else you will get some error which you need to rectify this may be due to improper installation.
Georgelee is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-16-2013, 07:22 AM
Mister Admin to you
scoutt's Avatar
Join Date: Jul 2001
Posts: 33,241
iTrader: (0)
scoutt is a glorious beacon of lightscoutt is a glorious beacon of lightscoutt is a glorious beacon of lightscoutt is a glorious beacon of lightscoutt is a glorious beacon of light
Does installing that way work? Usually I had to move the php.ini in the C:\windows directory. Plus, you can point to the dll files in the httpd.conf file in Apache. Might be confusing to copy all files to the Apache directory, sometimes you may want to add extensions to PHP so keeping it separate is helpful.

also, running command line is confusing for most people, just check if php is installed correctly by opening 127.0.0/phpinfo.php in your browser. This will also be helpful to show that Apache is setup correctly. It will list the php info if done right. But first you need to make that phpinfo.php file
PHP Code:
save it as phpinfo.php to the htdocs directory
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01,
HTML 5, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards

Last edited by scoutt : 09-16-2013 at 07:26 AM.
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump


All times are GMT -5. The time now is 06:47 AM.


Mascot team created by Drawshop.com | Web Hosting

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.