I wish to write a few components in C/C++ and use them in PHP code. How do I go about it? I'm running unix with gcc available. How do I compile the C/C++ scripts as components and instantiate these in PHP? Basically I just need an idea to the process flow.
Any help is really appreciated!