PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old August 30th, 2005, 06:42 AM
buildmybrain buildmybrain is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 buildmybrain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Problem with Manual Install of PHP 4.4.0 with IIS 6.0

WIndows 2003
PHP 4.4.0
IIS 6.0

I was capable of using the cgi version of php with the windows installer however after I uninstalled it to do a manual install to be able to play with ISAPI as well on sites I was getting these errors after following directions. And then some...

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

ok this is what I get when I try to run cgi version...

When I try to setup ISAPI version i have to logon.

This is what I have set for everything in IIS 6.0...

I set properties for each website individually,
Under home directory tab I set the configured
execute permissions: scripts only
Applications pool: DefaultAppPool

Under Configuration I set it up for CGI like so:
extension: .php
Executable path: c:phpphp.exe
Verbs: All

In Web Service Extensions I created the following:
Web Service Extension - PHP CGI Ext 4.4.0
c:phpphp.exe allowed

I have IUSR_Machine set with read execute permissions in CHP and made sure they where there for the sub-directories.

I get this error when i do

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

On my other site, I am trying to use the ISAPI module with same procedure but instead of .php going php.exe I used the php4isapi.dll located in the c:phpsapi folder.

When I dont set it with using the ISAPI filter it asks me to log in to the website.

When I set a ISAPI filter to php4isapi.dll my site goes down (404 error) even wiht normal html.

I have an environmental variable set with a path to c:php

idk if maybe its an php.ini problem but I swear I went through it all and it looks good everytime. But idk maybe I am overlooking something...

Im just wondering if there is a comon issue causing it to act this way. Could solve both my ISAPI and CGI problems. Has to be in IIS somewhere. I am missing something crucial obviously.

this is the file i use for testing.

CODE
<?PHP phpinfo(); ?>

Reply With Quote
  #2  
Old August 31st, 2005, 06:32 AM
buildmybrain buildmybrain is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 buildmybrain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Problem with Manual Install of PHP 4.4.0 with IIS 6.0

OK figured out my problem...

It seems the directions dont properly tell you how to configure a php.ini file to read appropriate includes.

That was really all I seen was different. It lets you know about extensions, but not the includes path in directions...

I found this out by comparing my info from a windows installer. after I set these paths correctly I had php 4.4.0 and php 5 up and rolling with CGI and ISAPI simultaniously.

Another thing I noticed was it read the C:Windowsphp.ini file first... Then it reads from the php root folder.

SO really having more than one instance of php on a server is really no big deal.

Now I have to get these extensions to work. Let yall know how it goes... Kinda using this message board for notes and thoughts to myself as I can see no responses haha. But Im truckin along and hopefully this may help someone in the future.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Problem with Manual Install of PHP 4.4.0 with IIS 6.0


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway