#15324 [Com]: CGI version (php.exe) times out

2006-03-09 Thread shaikh at cats-net dot com
 ID:   15324
 Comment by:   shaikh at cats-net dot com
 Reported By:  isitlive at altavista dot com
 Status:   No Feedback
 Bug Type: IIS related
 Operating System: Win2K
 PHP Version:  4.1.1
 New Comment:

I installed PHP 5.1.2 on WIN2k server with IIS 5, Below is the
procedure followed to install PHP

Download the PHP binary for Windows NT/2000 from here.
Download the CGI binary plus API version.


Extract to a directory of your choice. (eg. d:\PHP4)

Copy php4_ts.dll (located in the PHP4 directory) to your
windows\system32 directory.

Rename php.ini-dist to php.ini  move it to your WINDOWS directory
(c:\winnt)

Open php.ini in an text editor such as notepad and change the following
settings:


'extension_dir' to: c:\path\to\php\extensions

'doc_root' to point to your webservers document_root. ex:
c:\inetpub\wwwroot

'session.save_path' The ISUR account has must full access to this
directory

If you are running NTFS, which you should be, you will need to give the
IUSR_MACHINENAME Execute permissions on your document root and the PHP
directory. 

If you downloaded version 4.23 or greater, do a seach on
cgi.force_redirect and make sure to set it to 0 - in fact you have to
turn this feature off in order to run PHP on IIS Web Servers


Open the Internet Services Manager

Right click the top level icon (your computer name) click Properties

Click the Edit button in the Master Properties box to edit the WWW
Service properties.

Click the 'Home Directory' tab

Click the 'Configuration' button.

Click the 'Add' button to add an Application Mapping.

Click 'Browse' and find the path to php.exe as the Executable Use .php
as the extension and check the Script engine checkbox.


NOTE: Some people want to use the ISAPI filter - you are more than
welcome to try it but I have not had great success with it  the people
that write PHP suggest that you use the cgi version (exe). If you use
the isapi filter in a prodcution environment please drop me a note. 



Click 'OK', 'Select All', 'OK' and 'OK'. 

You should be back at the Internet Service Manager application again.

You must now restart IIS. (Action, Restart IIS)

http://www.iis-resources.com/modules/AMS/article.php?storyid=4
---

The above procedure works fine with XP Prof, but doesnt seems to be
working on WIN2K server,

Has any one faced similar problem...


Previous Comments:


[2005-08-11 13:48:47] nagashankarp at yahoo dot com

I get the same error, i am using the PHP Verion 4.3.9

after 5 minutes of this error, my IIS would hang, and i have to restart
IIS, if you have a soluton let me know at the earliest.

-Nagashankar



[2002-07-19 01:00:10] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2002-06-18 05:39:53] [EMAIL PROTECTED]

Is this fixed with PHP 4.2.1?

Derick



[2002-03-15 20:08:54] max at artco dot com

I had the same problem running php 4.04 as CGI on WinNT 4.0.  I found
that if the registry key
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip\parameters\SynAttackProtect
= 2) exists and is set I get the bug that is discussed in this report.
By deleteing the SynAttackProtect key, I am no longer get the The
script started fromt he URL error and my server no longer
crashes.

Before removeing the SynAttackProtect key from the registry I would get
the above error and then my smpt server and ftp services would stop
responding, and my web service  would stop after 5-10 minutes after the
smtp and ftp untill eventually the server crashed and needed to be
restarted.

for more info on the SynAttackProtect registry value you can visit
microsoft KB# 
http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q315669



[2002-02-25 21:28:11] WPinegar at healthtech dot net

I've seen the same problem.  You're right, adding the ISAPI filter does
solve the problem.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15324

-- 
Edit this bug report at http://bugs.php.net/?id=15324edit=1


#15324 [Com]: CGI version (php.exe) times out

2005-08-11 Thread nagashankarp at yahoo dot com
 ID:   15324
 Comment by:   nagashankarp at yahoo dot com
 Reported By:  isitlive at altavista dot com
 Status:   No Feedback
 Bug Type: IIS related
 Operating System: Win2K
 PHP Version:  4.1.1
 New Comment:

I get the same error, i am using the PHP Verion 4.3.9

after 5 minutes of this error, my IIS would hang, and i have to restart
IIS, if you have a soluton let me know at the earliest.

-Nagashankar


Previous Comments:


[2002-07-19 01:00:10] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to Open.



[2002-06-18 05:39:53] [EMAIL PROTECTED]

Is this fixed with PHP 4.2.1?

Derick



[2002-03-15 20:08:54] max at artco dot com

I had the same problem running php 4.04 as CGI on WinNT 4.0.  I found
that if the registry key
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tcpip\parameters\SynAttackProtect
= 2) exists and is set I get the bug that is discussed in this report.
By deleteing the SynAttackProtect key, I am no longer get the The
script started fromt he URL error and my server no longer
crashes.

Before removeing the SynAttackProtect key from the registry I would get
the above error and then my smpt server and ftp services would stop
responding, and my web service  would stop after 5-10 minutes after the
smtp and ftp untill eventually the server crashed and needed to be
restarted.

for more info on the SynAttackProtect registry value you can visit
microsoft KB# 
http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q315669



[2002-02-25 21:28:11] WPinegar at healthtech dot net

I've seen the same problem.  You're right, adding the ISAPI filter does
solve the problem.



[2002-02-01 18:39:56] isitlive at altavista dot com

note: I think we may have isolated the ISAPI problem...4.1.1 seems to
crash in IIS (Win2K) after some period of dormancy only if it is *not*
installed as an ISAPI filter as well as an ISAPI application, contrary
to the advice given in the installation notes.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15324

-- 
Edit this bug report at http://bugs.php.net/?id=15324edit=1