Installation troubles please help!

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

Installation troubles please help!

Post by Obadiah »

I installed php 5.1.4 and 4.4.2 on my webserver for IIS 6, however when i try to run the test via web browser all i get is a Bad Request error message. Ive looked just about anywhere for a solution and i cant find anything. Does it even work with Windows 2003 server?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Yes, it does. There are some things that need to be done to your IIS so that it knows what to do with .php files. How did you install PHP?
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

Post by Obadiah »

i just downloaded the installer via http://www.php.net/downloads.php then, edited the php.ini file that allows php to run in CGI mode then used the add edit menu for extention mapping....but the funny thing is, when i went there to add php to the list of extensions it was already there also it was written under that menu in the correct form. I have php on my PC at home and it works fine...i just dont understand why i cant get it to work on the server
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

Post by Obadiah »

i followed these instructions http://www.adobe.com/devnet/dreamweaver ... p_iis.html ....i was thinking that this was the problem since thise instructions are a bit outdated....the only thing i did different was i chose iis 6 or newer in the beginning the second time i tried to install and it still wouldnt work...btw thanx Everah for ur speady replay...i didnt expect anyone to answer that fast lol....they usually dont on other boards
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Better use http://www.php.net/manual/en/install.windows.iis.php
There a paragraph starting with With IIS 6 (2003 Server)
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

Post by Obadiah »

:P thanx guys....its working now...im not quite sure how though....i uninstalled php again to reinstall it using the instructions volka sent me....then when i started reinstalling it...i got totally different options...the same ones i got when i set it up on my PC....then i just ran the test file and it poped right up...either somethins screwey or i seriously need some sleep
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Obadiah wrote:btw thanx Everah for ur speady replay...i didnt expect anyone to answer that fast lol....they usually dont on other boards
I think you will find someone on these boards at just about every hour of every day. We are certainly not like those other boards. :wink:
Post Reply