We have created an application that we want to run on shared hostings and install with our custom network installer but on those hostings it is not possible to change the php.ini file to include libraries like zlib and sqlite.
It is necessary to find the location of the .so files on the server so that the dl() function can find them. However, by default, dl() only looks in the location specified by extension_dir.
Unfortunately, in shared hostings, this is often set to './' making extensions such as zlib and sqlite difficult to locate and therefore inaccessible.
Is there any way to find these extensions on a shared hosting PHP installation?
We can install to dedicated LInix/UNIX servers and self managed WAMP servers fine but we want to get it right for the mass shared hosting market.
Thanks in advance,
Damian