on 01-28-2016 3:45 PM
I am writing a PHP app that needs to pull information from a Sybase v10 database on a remote server.
I am told I need the SQL anywhere driver for this which I have obtained and installed but it keeps telling me I need libdbcapi.so which I assume is installed as part of the SERVER installation.
How can I achieve the link I need to enable the use of the sasql_connect function and all of it's associated requests?
I'm an experienced dev but sadly I have next to no experience of SQL Anywhere.
Thanks in advance!
Hi Alun,
To connect to the database you'll need both the PHP module and the SQL Anywhere client (which contains the libdbcapi.so library).
If you install the client from this link:
http://scn.sap.com/docs/DOC-35857
and set up the LD_LIBRARY_PATH as described here:
http://wiki.scn.sap.com/wiki/display/SQLANY/Getting+Started+with+SAP+SQL+Anywhere+and+PHP
You should be able to use sasql_connect to connect to the remote database.
Let us know if you run into any problems.
Thanks,
Mikel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.