Hey guys,
I've been in the process of writing a web server for the past few months, (the project can be found at http://swebs.souceforge.net ).
I have planned for the web server to work very closely with PHP, but I've had a few problems relating to using pipes (the server runs as an NT service and so has problems trying to open pipes, I wont go into details here). Nevertheless, the server is able to use PHP so far, but in a very clunky and hackish way. So I had hoped that I might be able to use PHP as a module for the server instead.
The problem is, I'm not too sure how I would go about doing this. When I installed PHP, I noticed theres a few dll files there, and I wondered if these DLL's hold functions to use PHP.
So what I'm really asking is, would it at all be possible for me to use PHP as a module in a DLL called by the server, rather than creating pipes to PHP.exe? And if there is, could anyone give me any links on the subject?