PHP + IIS7: 'Post' request timeouts

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Jagermeister
Forum Newbie
Posts: 3
Joined: Mon Mar 21, 2011 11:21 am

PHP + IIS7: 'Post' request timeouts

Post 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!
zyntrax
Forum Commoner
Posts: 32
Joined: Wed Apr 13, 2011 2:23 am
Location: Sweden

Re: PHP + IIS7: 'Post' request timeouts

Post by zyntrax »

Are you using mysql or mssql?
Jagermeister
Forum Newbie
Posts: 3
Joined: Mon Mar 21, 2011 11:21 am

Re: PHP + IIS7: 'Post' request timeouts

Post by Jagermeister »

zyntrax wrote:Are you using mysql or mssql?
None of them
zyntrax
Forum Commoner
Posts: 32
Joined: Wed Apr 13, 2011 2:23 am
Location: Sweden

Re: PHP + IIS7: 'Post' request timeouts

Post by zyntrax »

oops was thinking about something else :P

Can u show me the code where you post request?
Jagermeister
Forum Newbie
Posts: 3
Joined: Mon Mar 21, 2011 11:21 am

Re: PHP + IIS7: 'Post' request timeouts

Post 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>
Doug G
Forum Contributor
Posts: 282
Joined: Sun Sep 09, 2007 6:27 pm

Re: PHP + IIS7: 'Post' request timeouts

Post by Doug G »

Firewall? Some antimalware block? Permission on php executables? Just some guesses.
Post Reply