Connecting Tech Pros Worldwide Help | Site Map

Setup Vista business, IIS 7, PHP5.2.3 with fastcgi

Purple's Avatar
Moderator
 
Join Date: May 2007
Location: UK - North West
Posts: 385
#1: Jun 26 '07
Hi all,

Has anyone managed to setup Vista Business with IIS7 with PHP 5.2.3 with fastcgi..

I have been trying to get this running for two days and am getting nowhere.

My latest error is HTTP Error 502.2 - Bad Gateway, that said, I have worked through a few..

Regards Purple
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Jun 27 '07

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


Quote:

Originally Posted by Purple

Hi all,

Has anyone managed to setup Vista Business with IIS7 with PHP 5.2.3 with fastcgi..

I have been trying to get this running for two days and am getting nowhere.

My latest error is HTTP Error 502.2 - Bad Gateway, that said, I have worked through a few..

Regards Purple

When does this error show up ?
Purple's Avatar
Moderator
 
Join Date: May 2007
Location: UK - North West
Posts: 385
#3: Jun 27 '07

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


Hi r035198x (again..)

Running in the browser as a result of any .php script - am working with

[PHP]<?php
phpinfo();
?>[/PHP]

Purple
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#4: Jun 27 '07

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


Quote:

Originally Posted by Purple

Hi r035198x (again..)

Running in the browser as a result of any .php script - am working with

[PHP]<?php
phpinfo();
?>[/PHP]

Purple

Is the line cgi.force_redirect option (approx line 512)in your PHP ini file uncommented?
Purple's Avatar
Moderator
 
Join Date: May 2007
Location: UK - North West
Posts: 385
#5: Jun 27 '07

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


I have :

cgi.force_redirect = 0

and

fastcgi.impersonate = 0

Purple
Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#6: Jun 27 '07

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


Quote:

Originally Posted by Purple

I have :

cgi.force_redirect = 0

and

fastcgi.impersonate = 0

Purple

Isn't fastcgi.impersonate supposed to be set to 1?
Also are you pointing to php.exe or to php-cgi.exe for the gateway?
Purple's Avatar
Moderator
 
Join Date: May 2007
Location: UK - North West
Posts: 385
#7: Jun 27 '07

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


Hi,

I have just done a back to basics reinstall of fastcgi and PHP - I have changed:

fastcgi.impersonate = 0

and am now getting a very helpfull and silly message:

Expand|Select|Wrap|Line Numbers
  1. Server Error in Application "Default Web Site"
  2.  
  3. --------------------------------------------------------------------------------
  4.  
  5. HTTP Error 500.0 - General Silliness - FatalApplicationError
  6. Description: The page cannot be displayed because an internal server error has occurred. 
  7.  
  8. Error Code: 0x800703e3 
  9.  
  10. Notification: ExecuteRequestHandler 
  11.  
  12. Module: iisfcgi 
  13.  
  14. Requested URL: http://localhost:80/phpinfo.php 
  15.  
  16. Physical Path: C:\inetpub\wwwroot\phpinfo.php 
  17.  
  18. Logon User: Anonymous 
  19.  
  20. Logon Method: Anonymous 
  21.  
  22. Handler: php-iisfcgi  
Progress ? Who knows..

Purple
Purple's Avatar
Moderator
 
Join Date: May 2007
Location: UK - North West
Posts: 385
#8: Jun 27 '07

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


Also

using php-cgi.exe

Purple
Newbie
 
Join Date: Feb 2008
Posts: 1
#9: Feb 22 '08

re: Setup Vista business, IIS 7, PHP5.2.3 with fastcgi


I documented my installation in http://it-buffet.blogspot.com

With that I can run phpinfo successfully and enable mysql support.

But all applications break somehow.

Including phpmyadmin, Drupal and Typo3.

Now I´m turning back to ISAPI mode ´cause that works flawlessly.
Reply


Similar IIS / Microsoft Internet Information Services bytes