I am planning on putting the executable of a C program in a server and running it using a PHP script - as a Web API: e.g. echo exec("myscript.exe")
Currently the myscript runs on command prompt - it takes two input files and return an integer or float number. Currently the code takes the input files on the command prompt.
What modifications are needed to the existing program - I heard about HTTP bridge and daemon but not sure what I need, if any?
Update: Currently the only other dependency is libsndfile - that is available on Linux. The C program was developed on Linux.