Downloading PHP
PHP is a widely-used general-purpose scripting
language that is especially suited for Web development
and can be embedded into HTML.
ok, another new day. Well, lets get into it. We
need to download php but its a zip file and its
going to need winzip/winrar/pkunzip/unzip/whatever
you have unzip it inorder to use it.
Download
PHP version [4.4.2] :: format: zip file
:: size: approx. 7.9MB
lets unzip this file into the folder 'c:\php'
Note: When you unzip this file, it drops an extra folder.
C:\php\php-blah*. Move the contents of the second php folder to the
first one then delete that extra php folder that was created.
Configure PHP
Go into folder 'c:\php' find file 'php.ini-dist'
rename it to 'php.ini'
Open the file 'php.ini' using 'Notepad'
Under 'Search' click 'Find' or 'Edit' click
'Find' on Windows 2000 or press 'Ctrl+F'
then type this 'doc_root'
and modify according to the image below.
A few lines after, find 'extension_dir'
and modify following the image below.
Modify the values of this two variables
according to the screenshot below:
-Save and Close the file.
-Now, lets move this file to:
'php.ini' to c:\windows -- Win95/98/XP
To c:\winnt or c:\winnt40 -- WinNT/2000/XP
copy the file php4apache2.dll from c:\php\sapi folder to the apache.exe folder
By default C:\Program Files\Apache Group\Apache2\bin
also copy the file php4ts.dll from c:\php to the same apache.exe folder above