I have built the sqlanywhere php module exactly as the documentation instructs, plus added the path /opt/sqlanywhere17/lib64 to the library cache.
When I enable the extension (by adding extension=sqlanywhere.so in php.ini), it fails to load:
[Mon Jun 13 15:14:21.979308 2016] [:error] [pid 6259] [client 184.108.40.206:54860] PHP Warning: request_startup() for sqlanywhere module failed in Unknown on line 0
Any assistance would be greatly appreciated.
asked 13 Jun '16, 11:24
You likely need more than just some shared libraries here. There are resource files required as well (.\res*) for language support.
Depending upon other requirements there could be other files needed as well.
To test if you have a sufficient set you can always source sa_config.sh/.csh ahead of launching either Apache or PHP (if standalone). That should just work; afterwards you can tease the minimum set of files into the extensions directory.