Exclusive Affiliate-Only Offer:
$9.99 Domain Names
Drive sales with one of the most aggressive domain offers out there: A domain and professional email account for only $9.99!
Install Php on Apache 2.2.8 Webserver running on Win Server 2003 64bit
Pag 1
Find more tutorials at
On this second part we''ll try to get PHP engine running on
Apache installed on a machine with Windows Server 2003 64 bit. If you haven't
downloaded
PHP 5.2.6 zip package yet you can get it here
http://www.php.net/downloads.php
Please make sure to get the versions mentioned above, so the final
result will be positive 100%.
Steps to install PHP
Log on as
Administrator ,
Go where you
saved PHP and extract the .zip file to the directory C:\PHP5.
Open up the PHP5 folder , find php.ini-recommended and open this file with Notepad or any text
editor and save it as php.ini,making sure to select all files
instead of .txt from the save dialog box.
Next click Edit > find (see Fig 1)and search for
doc_root =and change it
to doc_root = C:\webserver\Apache2.2\htdocs
(no quotes isn't a mismatch )(see Fig 2) wich is the directory of your
webpages on the webserver.
Fig 1
Fig 2
In the same way, find
extension_dir = "./" and change it
to extension_dir = "C:\PHP5\ext"
(see Fig 3)Save the php.ini file and close it
Fig 3
Right Click on Start >
MyComputer then
choose properties > Advanced and Environment Variables
Then,find the System Variable Path select it by clicking on it
and press edit
Fig 4
On the new window (see Fig 4)
go to the end of the string and add exactly this
;C:\PHP5;C:\PHP5\ext. Click OK and Ok again to close any open
window.
Reboot your computer.(obviously the upper
or lower case of PHP5 folder, depends on how you saved it.Don't
forget to check if the environment variable is correct when the
computer starts.