IIS7 on Server 2008 with PHP FastCGI

IIS7 on Server 2008 with PHP FastCGI

am 15.04.2008 17:44:12 von David Horn

I'm encountering a frustrating bug with IIS7 and PHP 5.2.5 (non thread-
safe) via FastCGI. Everything seems to go fine until I install
Drupal, where changes aren't saved. Clicking submit on any form
simply returns you to the index page. Apparently it's something to do
with the way IIS handles responses, but at a technical level it's
beyond me.

A search on the Drupal forums reveals that this problem is known about
with IIS7, but not solved. (There were hints that a hotfix for Vista
worked, but I guess these changes are already incorporated into Server
2008).

It's impossible to test the site via ISAPI because an equally annoying
issue causes PHP to crash with an access violation whenever the
mysql_connect function is called. Because PHP recommend using
FastCGI, they aren't planning to fix this particular issue.

Have I missed anything obvious that might be worth trying? (Other
than installing Apache!)

Cheers,

David.

Re: IIS7 on Server 2008 with PHP FastCGI

am 16.04.2008 03:51:34 von David Wang

On Apr 15, 8:44=A0am, David Horn wrote:
> I'm encountering a frustrating bug with IIS7 and PHP 5.2.5 (non thread-
> safe) via FastCGI. =A0Everything seems to go fine until I install
> Drupal, where changes aren't saved. =A0Clicking submit on any form
> simply returns you to the index page. =A0Apparently it's something to do
> with the way IIS handles responses, but at a technical level it's
> beyond me.
>
> A search on the Drupal forums reveals that this problem is known about
> with IIS7, but not solved. =A0(There were hints that a hotfix for Vista
> worked, but I guess these changes are already incorporated into Server
> 2008).
>
> It's impossible to test the site via ISAPI because an equally annoying
> issue causes PHP to crash with an access violation whenever the
> mysql_connect function is called. =A0Because PHP recommend using
> FastCGI, they aren't planning to fix this particular issue.
>
> Have I missed anything obvious that might be worth trying? =A0(Other
> than installing Apache!)
>
> Cheers,
>
> David.


You should go to the Forums on iis.net to inquire about this.

I suspect that PHP will always force one to use Apache because despite
being "cross platform" and "open", it and applications on it obviously
favors one platform over another.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//