http apache webserver in php with REST API to local c client communication

I did not have any background knowledge on web services and have good knowledge of only C language.
I want to implement http.
After doing somewhat of study and research for 5 days, I have decided to use apache webserver to write REST APIs in php on server side (JSON).
After getting http requests from clients I want to pass those requests as commands to another process which is a continuously running C code.
How should I to do this?
After passing that command the process will give me one reply for that command which I have to again send to the remote http client.

Source: apache

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.