|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 C 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(); ?> |
|
#2
|
|||
|
|||
|
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. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Problem with Manual Install of PHP 4.4.0 with IIS 6.0 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|