I have over ten years experience in working with C++.
First of all, let me understand: you want C++ code on Linux that
will execute PHP code?
I have experience with "Roadsend PHP", see : http://www.roadsend.com/
it will create binaries that will execute PHP code , not need an interpreter.
Let me know.
It works on Linux and Windows.
There is two possibilities to run PHP files on Windows:
-compile php script with Roadsend and create exe file for Windows
-run external program from C++ code ( php exe interpreter) and specify php script as
argument for php.exe.
This probably wouldnt run well as an end result application, but great for a start, usually applications made in interpreters are groggy and slow :( ... dont get me wrong im still impressed, thats a pretty cool idea :)
So what you do is install it. Then launch it out of the start menu...All Programs->WampServer->"start WampServer.exe"
Then an icon will appear on the bottom-right of your screen. Once it is green, click on it. Then click on "www directory". A folder will open. Put your php files in there. Now go to your web browser and type in: http://localhost/yourfilename.php