I just ran into this when I was trying to find a way to support some voice recording applets written with php wrappers, without having to rewrite what was essentialy supposed to be drop in code. Problem is the software developer was trying to sell this php voice recorder into a windows environment, and it is difficult to support PHP in a .Net environment for non-obvious reasons (at least not obvious to LAMP php coders) in the process I found an open source group of PHP lovers who had develped a PHP compiler for CLR in a .Net Envrionment, now you can build php DNN Modules, combine VB and C# and PHP asseblies working in Visual Studio with all of the .Net envronment, So COOOL! go to www.phlanger.com and start writing PHP applets for DNN Modules for free.
The installation is still a little rought, if you have problems with access violations then give the entire executable directory in c:/program files/phlanger 2.0 writes to NETWORK SSERVICES turn full access writes on and the problem will go away.
Up until now you would have to buy nuckletes to do this for 100.00 this ones for free and it revolutionizes PHP in the .Net world.