Solved

PHP + unixODBC + DB2

Posted on 2001-07-16
3
475 Views
Last Modified: 2008-02-01
HI!

I need a unixODBC connection to a DB2 Server for executing PHP scripts on a
Webserver!
On the Webserver(Redhat 6.2) Apache is installed with PHP and unixodbc; the
DB is running on a other Server(RS6000, AIX);
UnixODBC works fine, i have allready connected to a Sybase ASA 7.0.1, The
Sysbase also works on a other Server. Therefor i made the following
directories on the webserver and copied the required librarys in this
directory:
/opt/sybase/SYSBSsa7/lib/dbodbc7.so
/opt/sybase/SYSBSsa7/lib/dbodbc7.so.1

For the DB2 connection I also made a /usr/IBMdb2/V7.1/lib/ direcory and
copied libdb2.so and libdb2.so.1 in it. I also made an entry in
/etc/ld.so.conf (/usr/IBMdb2/V7.1/lib/) and run ldconfig.
So, if i try to add a new data source in ODBCConfigurator i get the
following message:
"Cannot load property list"

Can anyone help me?

Joachim
0
Comment
Question by:magic41
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Expert Comment

by:PaulSmirnoff
ID: 6286202
I guess you need to register database in local db2 catalog.

~/sqllib/sqldbdir/*
~/sqllib/slqnodir/*

Try to copy those files as well.

Paul
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7259147

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 

Accepted Solution

by:
Jgould earned 0 total points
ID: 7289133
Question has been closed as per recommendation

JGould-EE Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question