Datasheet

P1: KTX
WY027-01 WY027-Mercer WY027-v2.cls June 5, 2004 0:44
Getting Up and Running
Figure 1-17
Provided the message in the MMC reports that the World Wide Web Publishing service was started
successfully, you now have PHP5 installed. Remember the name of your Web sites root directory
(the booksisD:\Inetpub\wwwroot).
Create a folder in the wwwroot folder. Name it anything you want (but something helpful, like
php_files), and place les in it with a .php extension. These les will be processed through the PHP
scripting engine when requested by a browser.
Now open your text editor and create a text le with the following code in it:
<?php
phpinfo();
?>
Save this le as test01.php (or something like that, so long as the lename extension is .php)inthe
folder you just created under the wwwroot folder. Open the le in your browser, using
http://localhost plus the name of your new folder and the lename (for example,
http://localhost/php_file/myfile.php). You should now see something like Figure 1-19 in your
browser (although your PHP version number might be a bit different if you have a more recent release):
Assuming it works, youre now in business. If not, check out the following section.
25