Of course, make sure you have INFORMIXDIR set, and add $INFORMIXDIR/bin in your path. I also edit /etc/ld.so.conf and add: (assumes INFORMIXDIR = /opt/informix)
/opt/informix/lib
/opt/informix/esql/lib
Note that I was using csdk 2.4.0. Otherwise, my config was almost the same. I could send you my shared .so file and you could just plug in via php.ini. If you like.
Zack
Matthew Jachimstal wrote:
I'm trying to compile php 4.0.4 pl1 with Informix support. I've installed the latest CSDK I could find from Informix (2.60) after having problems with 2.40. The new CSDK didn't fix it, though.
I get a 1202 error (divide by zero) from
'esql -e _EDHAVEIFX_IUS /<path>/ifx.ec'
I saw this in a couple of mailing list archives from last July, but never saw a solution. Any ideas?
RedHat 6.2
kernel 2.2.14-6.1.1smp
Dual P3 700
Informix IDS 2000 9.21.UC3
php 4.0.4pl1
CSDK 2.60.UC1-1
(anything else?)
TIA,
Matthew