How do I set up my server to work with PHP

  http, php, server-side, webserver

I want to use PHP with a server that i’ve coded my self. (Not Apache etc) I guess I have to send the http request and some additional data from my server to php, but I dont know how to make that connection and how to format that message.

I know I can run scripts with php.exe, the problem is that way it won’t work with php sessions.

Source: Ask PHP