IIS PHP - Verifying IIS Configuration for PHP Scripts
Windows System and Applications Information Center
|
|
| Verifying IIS Configuration for PHP Scripts | | How to verify IIS configuration for PHP scripts? | | By: FYIcenter.com | | If you have followed our Configuring IIS for PHP Scripts tutorial, you are ready to verify the configuration
by follow this tutorial.
This tutorial assumes that your IIS is configured to server Web documents from C:\inetpub\wwwroot.
1. Make sure that IIS is running.
2. Use "notepad" to enter this simple PHP script:
<html>
<body>
This is <?php echo "my first PHP script"; ?>.
</body>
</html>
3. Save this script as C:\inetpub\wwwroot\my_first.php.
4. Run a Web browser and enter the this URL: http://localhost/my_first.php.
You will see IIS runs the script with the PHP engine and returns the result in the browser window as:
 | | ID: 67 | Rank: 2117 | Votes: 0 | Views: 934 | Submitted: 20061208 |
Copyright © 2009 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|