/    Sign up×
Community /Pin to ProfileBookmark

Insalling PHP5 on W2003 with IIS

Hi,

I have followed the instructions here ([URL=”http://php.net/manual/en/install.windows.iis6.php”]http://php.net/manual/en/install.windows.iis6.php[/URL]) and when I try to view an index.php page withthe following code,

[CODE]<?php

echo ‘hello world’;

?>[/CODE]

I have been getting errors.

Firstly the broswer tried to do download index.php as a file. Then I got 404 errors, then “you are not authorized to view this page” (ACL) HTTP Error 401.3.

Not sure how to fix this and would appreciate a pointer in the right direction from anyone who has had experience of this problem.

Thx

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogAug 10.2011 — I'm not a Windows guru so don't know the specifics, but it sounds like the web server config does not "know" that .php files need to be sent to the PHP processor. You might want to check the "sticky" posts here (this site's sister forum PHPBuilder.com): http://phpbuilder.com/board/forumdisplay.php?f=7

PS: Could it be something as simple as having to restart the web server after making config changes?
Copy linkTweet thisAlerts:
@A_Tame_LionauthorAug 16.2011 — Thanks NogDog,

Definitely not a restart issue, have tried that. I will uninstall and try the installation method from phpbuilder to see if that works.
×

Success!

Help @A_Tame_Lion spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...