We have a PHP web app running on a customer\'s machine. For an update, we have a bit of code in C that we\'d like to include as a native opaque library along with the PHP we
Another option is to have the C code as a daemon, always running, and the php script connect to it throught unix domain sockets or some existing library to exchange data.