I am trying to figure out how to use ODBC with PHP.
Specifically I need to connect a php script to a SunGard Banner table
I know I need to set up some type of DNS connection, but I am not sure what
exactly that is.
[r...@dev ~]$ odbcinst -j
unixODBC 2.2.11
DRIVERS: /etc/odbcinst.ini
is www-data, and i try to copy an .odbc.ini file to this user $HOME, but dont works...
the conclusions are:
1º ODBC works
2º I have PHP compiled with ODBC support.
3º other users with an .odbc.ini file under $HOME can access to ODBC.
but the problem is still there :(
so my question is: how can
Unlimited
odbc.max_persistent Unlimited
Unlimited
Now, to me that looks like I could theoretically do what I want to,
correct? Any help with PHP + ODBC on FreeBSD would be much appreciated. Thanks,
Joe
Joseph,
It does appear you have iODBC compiled in already. To confirm for this do a
find for libiodbc.so.
Yes, you do need iODBC here to act as the Driver Manager (a binding point so
PHP can interface with ODBC) but you will still need an actual ODBC driver.
Try the Multi-Tier driver from our
Unlimited
odbc.max_persistentUnlimited
Unlimited
Now, to me that looks like I could theoretically do what I want to,
correct? Any help with PHP + ODBC on FreeBSD would be much appreciated.
Thanks,
Joe
--
PHP General Mailing List (http
5 matches
Mail list logo