Skip to main content

developerworkslabel >  Information Management  >  forumlabel  >  DB2 Viper 2 Open Beta forum for Linux, UNIX and Windows  >  developerWorks

PDO_IBM and IDS Cheetah on Linux    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

loginbox.header
 loginbox.welcomelabel loginbox.guestlabel
loginbox.signin
This question is not answered.

Permlink Replies: 0 - Pages: 1
cbenesch

Posts: 2
Registered: Oct 21, 2008 05:16:51 PM
PDO_IBM and IDS Cheetah on Linux
Posted: Oct 21, 2008 05:27:03 PM
 
Click to report abuse...   Click to reply to this thread Reply
Hi,

We have Informix IDS Cheetah installed on an AIX server, and would like to use Zend Framework to connect to it to develop an application. Our web server is running RedHat Enterprise, we are running a fairly new version of apache 2, and our php is compiled on site (not Zend Core). We have the DB2 client and CSDK installed and have sucessfully used PDO_INFORMIX. Our PHP version is:

PHP 5.2.5 (cli) (built: Oct 14 2008 14:35:12)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Debugger v5.2.12, Copyright (c) 1999-2007, by Zend Technologies

When we try to make a connection to the database using a fairly simple example:

$cn = new PDO("ibm:DATABASE=fds_xdev;HOSTNAME=eagle;PORT=1538;","chris","*******"); // password changed to protect the innocent

we get:

PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE=, SQLAllocHandle: 0 ' in ...

eagle is the box with Cheetah running on it, and 1538 is the DRDA alias port number.

Documentation and especially examples seem almost impossible to come by, and the above error doesnt really help any. Does anyone have any pointers or suggestions on what to look at, what to do, etc... We really dont want to go to MySQL since we've been an Informix customer for almost 20 years.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums