Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I added the extension to php.ini to get the module to load but now I am getting this error

Warning: sasql_connect() [function.sasql-connect]: The SQLAnywhere client libraries could not be loaded. Please ensure that can be found in your LD_LIBRARY_PATH environment variable

Any ideas?

Centos 5.7 64-bit PHP 5.1.6

share|improve this question
up vote 1 down vote accepted

Make sure that the LD_LIBRARY_PATH environment variable is updated to point to the SQLAnywhere lib directory.

You can append to your current LD_LIBRARY_PATH by doing the following;

share|improve this answer
Where do I do that? – Robert Mar 19 '12 at 18:11
Nvm figured it out thank you so much! – Robert Mar 19 '12 at 18:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.