Page 1 of 1

Installation troubles please help!

Posted: Mon Jul 31, 2006 9:22 am
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?

Posted: Mon Jul 31, 2006 9:24 am
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?

Posted: Mon Jul 31, 2006 9:44 am
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

Posted: Mon Jul 31, 2006 9:52 am
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

Posted: Mon Jul 31, 2006 10:03 am
by volka
Better use http://www.php.net/manual/en/install.windows.iis.php
There a paragraph starting with With IIS 6 (2003 Server)

Posted: Mon Jul 31, 2006 10:53 am
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

Posted: Mon Jul 31, 2006 9:29 pm
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: