Having trouble display php page after installation

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

k80sg
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Aug 16, 2011 8:19 am

Having trouble display php page after installation

Postby k80sg » Tue Aug 16, 2011 8:35 am

Hi, I am new to php and I just did an installation on my Windows7 but fail to get any .php pages displayed, getting the usual "Internet Explorer cannot display the webpage" instead.

These are the steps of what I have done based on an Installation tutorial

1. Downloaded the PHP 5.3 (5.3.6) Zip version
2. Unzip into a folder c:\php5
3. Open up the and include this line cgi.force_redirect = 0 at the very top of the file (just below [PHP])
4. Install all IIS necessary components (Adding the nodes and stuff under Turn Windows features On and Off)
5. Add Module Mapping Under Handler Mappings in IIS:
Request Path: *.php
Module : FastCgiModule
Executable :C:\php5\php-cgi.exe
Name: :PHP
6. Created a .php with one line in it: <?php phpinfo(); ?>

Finally I tried to test the page http://localhost/phpinfo.php, but fail to display the page. Am I missing out some crucial steps? Thanks.

Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 1 guest