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!
PHP + IIS7: 'Post' request timeouts
Moderator: General Moderators
-
Jagermeister
- Forum Newbie
- Posts: 3
- Joined: Mon Mar 21, 2011 11:21 am
Re: PHP + IIS7: 'Post' request timeouts
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
None of themzyntrax wrote:Are you using mysql or mssql?
Re: PHP + IIS7: 'Post' request timeouts
oops was thinking about something else 
Can u show me the code where you post request?
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 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>
<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
Firewall? Some antimalware block? Permission on php executables? Just some guesses.