How can I use PHP to access shared library functions?
Hello,
I've been looking around the internet for a while trying to find a way to access functions from libmikmod.so (tracked music library) from inside of a PHP script. So far the only way I have found is to write a PHP extension with C, but that probably won't work for several reasons:
1.) I'm pretty sure I don't have permission to add extensions to my server's PHP extensions folder,
2.) I don't know how to write a PHP extension anyway.
Does anybody know how I can access the functions and data structures exported by libmikmod.so, or any library for that matter?
|