Search code examples
phpnginxubuntu-16.04sqlanywhere

SQLAnywhere client libraries could not be loaded


I have problem witch SQLAnywhere client libraries. They no longer know what to do. I searched on the internet but to no avail. The client is installed, the bible libdbcapi.so exists in the directory /opt/sqlanywhere12/lib64/.

Details:

  • Ubuntu 16.04
  • PHP 5.6
  • Nginx

enter image description here

Thank you


Solution

  • Oki.

    I came to fix it.

    After all, even the client updated to version 17.

    Was enough only to add:

    env[PATH] = /opt/sqlanywhere17/lib64
    

    File:

    /etc/php/5.6/fpm/pool.d/www.conf 
    

    Then rebooting: php5.6-fpm.service

    And ready to work :)

    enter image description here

    Thank you for help :)

    I hope it will help others.