Awin, this is a good idea but I don't know of an opensource project that does this yet. Many of the open projects are multi-platform focused and therefore don't concentrate on win32 platforms.
That being said, one easier way to integrate your C++ code with PHP is to simly build a CGI or ISAPI extension using traditional methods. Then fopen or fsockopen (on your own server) the URL to invoke the CGI. You can easily pass args to it using GET or POST methods... return XML or CSV... and you can get this all done in a fraction of the time it'll probably take to build an extension.
Just a suggestion. Dave
===========================================
http://badblue.com/helpphp.htm
Free small footprint web server for Windows
Share files... get PHP up and running fast