Writing a linux (centos 4) c++ daemon that interacts with PHP
Ok, first of all I'm not really new here, I used to post here a while back. my name seems to be gone or password is set to something crazy or something I gave up trying to get my password.
Anyways I have a PHP project I've been working on. It's a series of classes much like gsQuery if any one has heard of it. Its to query game servers and stuff. But I'm making mine to use as a control panel for game servers.
All of my servers will be a pure CentOS 4.4 (or whatever the latest update is at the time) network. I've finished doing much of the PHP part as far as querying servers. Now i need to implement the big parts. Which is the ability to install game servers, update game servers, apply server plugins/mods/anything of that nature.
Since the user front end is PHP/MySQL based I need to create a server side daemon that will be used to run the different server installation applications blah blah blah, and (I guess it makes most sense to update a database as it progresses). Some things like installing a game server could take hours to do.
I think it would be best to do it with C++, even though I don't have the best c++ background I am experienced enough in the field in general where I could do this if someone was able to get me started on the right foot.
On google I was able to find this: http://www.linuxprofilm.com/articles...mon-howto.html
and that's really it. I've tried all sorts of search terms but that was what I could find. It looks fairly in depth and provides me with the basics of creating a daemon. Of course I'm sure theres much more to know than that (given my specific needs)
Any help would be greatly appreciated, thanks.