Click to See Complete Forum and Search --> : PHP4.0.4pl1 +Informix=1202 err in ifx.ec
jachim
03-28-2001, 03:09 PM
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
zhamm
03-29-2001, 03:30 PM
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
jachim
03-29-2001, 05:15 PM
I ended up FTP'ing the ifx.ec over to another client that I'd also installed the CSDK on, and preprocessed it over there. After I brought it back, everything compiled fine, and the Informix functions I tried worked fine.
Thanks for the pointers on the environment, I'll check those out. I'd like to have a working setup to prevent the headaches in the future.
Matthew
zack wrote:
-------------------------------
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
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.