IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

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 Dev Shed Forums Sponsor:
  #1  
Old August 27th, 2003, 06:02 AM
flanagaj flanagaj is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 13 flanagaj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CGI TImeout with PHP and IIS 5.1

I have installed PHP 4.3.3 with IIS 5.1 and configured IIS 5.1 so that when a .php file is called it runs php.exe. When I call a .php file in the browser an instance of php.exe can be seen triggered in the Task Manager process window. The script never finishes and I end up with a timeout message.

"CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process"

The script I am trying is just <?php phpinfo();?>

I did wonder if the issue is a permissions one. php.exe seems to be running as IUSR_<my pc name>

I have modified the permissions on the folders that contain both php.exe and the .php scripts. But this has made no difference


Any ideas ?


Thanks


Justin

Reply With Quote
  #2  
Old August 27th, 2003, 06:26 AM
flanagaj flanagaj is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Posts: 13 flanagaj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Fixed !!!


Found out from another forum that you need to map .php files in IIS to php.exe %s %S


not sure what %s %S is but it now works

Reply With Quote
  #3  
Old October 24th, 2003, 07:38 PM
like_duh44 like_duh44 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 36 like_duh44 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
You can also change the timeout by the following:

Click Start -> Settings -> Control Panel -> Administrative tools -> Internet Information services

Right click on the 'Web Sites' folder, and click properties.

Under the Home Directories Tab, click 'Configuration...' at the bottom right.

Go to the 'Process Options' tab, and change the 'CGI Script Timeout' to a larger value

Reply With Quote
  #4  
Old August 18th, 2006, 10:50 AM
krzystu krzystu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 1 krzystu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 21 sec
Reputation Power: 0
CGI Timeout IIS (solution)

The issue is related how IIS uses CGI Timeout value for existing application. Even if the Timeout value is changed it will not influence existing application and it is impossible to change it for the application from MMC. The only way is to change the value globally and to create the application again (virtual directory) or to use MateBaseEditor from MS and restart IIS.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > CGI TImeout with PHP and IIS 5.1


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 3 hosted by Hostway
Stay green...Green IT