#48067 [Asn->WFx]: Class 'DOTNET' not found

From: Date: Thu, 18 Jun 2009 15:11:56 +0000
Subject: #48067 [Asn->WFx]: Class 'DOTNET' not found
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-138470@lists.php.net to get a copy of this message
ID: 48067 Updated by: pajoye@php.net Reported By: lunter at interia dot pl -Status: Assigned +Status: Wont fix Bug Type: COM related Operating System: winXP PHP Version: 5.3CVS-2009-04-24 (snap) Assigned To: pajoye New Comment: We can't fix the 2003/02 SDK. You can use the VC9 builds with FastCGI or apache as described in the previous comment. Previous Comments: ------------------------------------------------------------------------ [2009-04-24 11:58:30] pajoye@php.net It is not available with the platform SDK 2003/02. 5.2 had a hack by manually copying the mscoree files to enable the DOTNET class. However 5.3 does not have this trick, you can use the VC9 builds for now as they use modern SDKs and support DOTNET. VC9's apache can be found at http://apachelounge.com ------------------------------------------------------------------------ [2009-04-24 10:43:16] lunter at interia dot pl Description: ------------ Class 'DOTNET' not found introduced in PHP 5.3 Reproduce code: --------------- <?php $stack = new DOTNET("mscorlib", "System.Collections.Stack"); $stack->Push(".Net"); $stack->Push("Hello "); echo $stack->Pop() . $stack->Pop(); ?> Expected result: ---------------- Fatal error: Class 'DOTNET' not found in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\1.php on line 2 Actual result: -------------- Hello .Net ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48067&edit=1

« previous php.bugs (#138470) next »