PHP installation guide

PHP is the best web hosting 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 ).

php logo PHP installation guideYou 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:
C:\php\php4ts.dll
C:\php\sapi\php4apache2.dll
C:\php\php.ini-recommended

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.

Social Bookmarking:

Posted under Managing Plesk, Plesk Control panel, Windows Hosting with Plesk

This post was written by admin on September 26, 2008

Tags: , ,