I want to build a library with a connection to a database
then, when I install it on a server, I want to use it within a C software and the same library in a PHP script
because I want to reuse the code in php and in the c program
the shared library will be written in C as well
please, this is possible, right?