Bug #53140 [Fbk->NoF]: PHP-CGI (FastCGI IIS) crashes when creating DOTNET instance every second time

From: Date: Sun, 05 Jul 2020 04:22:06 +0000
Subject: Bug #53140 [Fbk->NoF]: PHP-CGI (FastCGI IIS) crashes when creating DOTNET instance every second time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227824@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=53140&edit=1

 ID:               53140
 Updated by:       php-bugs@lists.php.net
 Reported by:      jeyb88 at gmail dot com
 Summary:          PHP-CGI (FastCGI IIS) crashes when creating DOTNET
                   instance every second time
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          COM related
 Operating System: XP, Vista, Win 7,Win Server 2008
 PHP Version:      5.3.3
 Assigned To:      cmb
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2020-06-25 14:57:58] cmb@php.net

I cannot reproduce the crash with PHP 7.3. Can anybody else
reproduce it with any of the actively supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>

------------------------------------------------------------------------
[2018-01-22 18:58:15] rodman dot tim at gmail dot com

I also had this issue. My PHP script failed every other time I executed it on FastCGI IIS. I was
able to get around the problem by setting ".NET CLR version" to  "No Managed
Code" in the Application Pool like this: https://i.imgur.com/PzWPClD.png

------------------------------------------------------------------------
[2015-10-30 11:49:48] nicholas dot owens at Seiko dot co dot uk

I have also experienced this.

I am trying to use the WinSCP .net object.

I am using PHP 5.3 on Windows 2008R2, it crashes exactly every other time.

I avoided the problem by using COM instead of DOTNET.
It is my understanding that any .NET to be used from PHP must be registered in COM anyway so would
this always work?

------------------------------------------------------------------------
[2013-12-01 20:11:30] jzdd at o2 dot pl

This issue still exists on PHP 5.5.6 run on Windows Server 2012/R2 and IIS 7/8.

It makes php_com_dot_net USELESS for production, why can't you fix this?????

------------------------------------------------------------------------
[2013-10-18 05:23:27] igorhmm at gmail dot com

Guys,

I found a poor workaround: on IIS7 I've fixed just one request to recycle

I did this on specific application pool that uses this feature.

Hope this helps :)

Regards

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=53140


--
Edit this bug report at https://bugs.php.net/bug.php?id=53140&edit=1


Thread (15 messages)

« previous php.bugs (#227824) next »