Results 1 to 13 of 13
Thread: PHP trouble on IIS 6
-
03-15-2004, 03:09 PM #1Newbie
- Join Date
- Mar 2004
- Location
- Houston, Texas
- Posts
- 5
PHP trouble on IIS 6
I have a problem that keeps occuring. I am running Windows Server 2003 on this computer. I downloaded the latest PHP which is 4. I install it, but it still ends up not letting me have PHP pages. In my directory properties I have index.php on documents. It displays html pages fine. So I still go to my website and then add index.php on the end, still doesn't work, all it says is Cannot be found. I dunno what else to do. I have installed and uninstalled PHP many times, I have tried everything I could. Tell me what I could do to make my IIS show up PHP scripts/pages. Currently it just won't display any extensions with PHP at the end. Thanks. My website is below.
-
03-15-2004, 03:14 PM #2Web Hosting Master
- Join Date
- Sep 2002
- Location
- Illinois
- Posts
- 2,307
I had the same problem and decided to install Apache
-
03-15-2004, 04:16 PM #3Newbie
- Join Date
- Mar 2004
- Location
- Houston, Texas
- Posts
- 5
That's what I am afraid of. I don't like Apache too much, but I have one person with PHP on IIS. You might tell me to ask him but he's too busy.
-
03-15-2004, 05:00 PM #4Web Hosting Guru
- Join Date
- Aug 2000
- Location
- Redmond, WA
- Posts
- 310
Here are a couple of things to look at:
- Did you enable PHP as a Web Service Extension in IIS Manager?
- Did you add PHP as an ISAPI filter (if this is how you are configuring it)?
- Did you add the script map for the .php extension to point to php.exe (if you are configuring PHP as a CGI)?
IIS 6 can take a bit of getting used to (if you're used to IIS 5), but it does have some very nice improvements. I hope this helps.Chris Spangler
chris@thespanglers.net
-
03-15-2004, 05:43 PM #5Web Hosting Master
- Join Date
- Sep 2002
- Location
- Illinois
- Posts
- 2,307
Originally posted by banner
Here are a couple of things to look at:
- Did you enable PHP as a Web Service Extension in IIS Manager?
- Did you add PHP as an ISAPI filter (if this is how you are configuring it)?
- Did you add the script map for the .php extension to point to php.exe (if you are configuring PHP as a CGI)?
IIS 6 can take a bit of getting used to (if you're used to IIS 5), but it does have some very nice improvements. I hope this helps.
I user the installer and I get paghe not found on all php scripts. And I restarted server.
-
03-15-2004, 06:00 PM #6Aspiring Evangelist
- Join Date
- Mar 2003
- Location
- sf
- Posts
- 350
open iis, you will see the web service extension just like http://www.developer.com/img/article...IS/IIS6P15.gif
if you don't see php, then you have to create a new extension and point it to php.exe or ISAPI (in your php folder)
-
03-15-2004, 06:14 PM #7Web Hosting Evangelist
- Join Date
- Mar 2002
- Location
- UK
- Posts
- 458
Read my post in this thread:
http://www.webhostingtalk.com/showth...light=php+2003
This will give you instructions on how to install PHP on Windows 2003 and IIS6. Before you do this make sure you *totally* uninstall PHP.Chris at TDMWeb.com
Windows & Linux hosting and fully managed dedicated servers with great customer service!
UK-based but serving the world...
-
03-16-2004, 01:30 AM #8Newbie
- Join Date
- Mar 2004
- Location
- Houston, Texas
- Posts
- 5
I didn't do the zip version because he didn't say IIS. Boy I am stupid.
-
03-17-2004, 02:08 AM #9Web Hosting Master
- Join Date
- Feb 2004
- Posts
- 772
Hi,
Please follow the steps in the given URL for Installing PHP 4.x under Windows 2003 server with IIS 6.0:
http://s92192454.onlinehome.us/PHP_o...under_IIS.html
Hope this diagramatically good tutorial helps you to install with ease.
Regards,
Bright
-
03-19-2004, 02:56 PM #10New Member
- Join Date
- Mar 2004
- Location
- Port Orchard, WA
- Posts
- 4
...
I had the same problem but only if I linked the extention to the dll file. When linked the iis extention to the php.exe file it worked fine. You may want to try that.
JaY
-
03-20-2004, 10:08 AM #11Newbie
- Join Date
- Mar 2004
- Posts
- 11
Also make sure you allow correct read permissions for the c:\php folder (if that's what it is). This had me stumped for a while.
-
03-20-2004, 06:02 PM #12Web Hosting Evangelist
- Join Date
- Mar 2002
- Location
- UK
- Posts
- 458
You will get much better performance using the ISAPI version of PHP (.dll) than the CGI version (.exe). Persevere and follow the instructions. And *do* totally uninstall everything php-related you did before prior to doing a correct install.
Chris at TDMWeb.com
Windows & Linux hosting and fully managed dedicated servers with great customer service!
UK-based but serving the world...
-
03-31-2004, 09:03 PM #13Texan at Heart
- Join Date
- Jul 2003
- Location
- Castle Pines, CO
- Posts
- 7,189
Thanks Chris - this was exactly what I needed as well!