Page 1 of 1

PHP + IIS7: 'Post' request timeouts

Posted: Mon Mar 21, 2011 11:29 am
by Jagermeister
Hi,

First of all, hello everyone, I have just registered.

We are having some serious problems migrating our servers from IIS6 to IIS7. Our servers run Windows Server 2008 R2 Enterprise, with IIS7.5 installed. PHP is version 5.2.17, non-thread safe, configured to run as FastCGI. All of the websites hosted are configured to use a Single Sign-on module for authentication, and application Pool is in "Integrated" mode.

The problem is the following: In any website which uses PHP, when a "POST" request is sent, it timeouts. It doesn't matter the timeout value, it just stays there forever waiting.

If I manually edit web.config file and remove the Single Sign-on module (without changing application pool or anything else), it works... But without authentication, of course.


Do you know any workaround for that? I have read in some places that perhaps in 'Classic' mode it would work, but then we get a Single sign-on error.


Thank you!

Re: PHP + IIS7: 'Post' request timeouts

Posted: Tue Apr 26, 2011 6:42 am
by zyntrax
Are you using mysql or mssql?

Re: PHP + IIS7: 'Post' request timeouts

Posted: Tue Apr 26, 2011 6:44 am
by Jagermeister
zyntrax wrote:Are you using mysql or mssql?
None of them

Re: PHP + IIS7: 'Post' request timeouts

Posted: Tue Apr 26, 2011 7:27 am
by zyntrax
oops was thinking about something else :P

Can u show me the code where you post request?

Re: PHP + IIS7: 'Post' request timeouts

Posted: Tue Apr 26, 2011 7:51 am
by Jagermeister
Post is as simple as:



<form action="post-php.php" method="post">
<input type="text" name="testpost" />
<input type="submit" value="postit" />
</form>

<?php if(isset($_POST['testpost'])) { ?>
Posted: <?php echo($_POST['testpost']) ?>
<?php } else { ?>
Waiting for post...
<?php } ?>
</p>

Re: PHP + IIS7: 'Post' request timeouts

Posted: Tue Apr 26, 2011 7:45 pm
by Doug G
Firewall? Some antimalware block? Permission on php executables? Just some guesses.