I have apache1.3.24 with php4.1.2 and SDK Client2.70 on linux RedHat 7,1 AND Informix SE on other server (SCO).
I configureand compiled SDK APACHE and PHP this:
SDK CLIENT
INFORMIXDIR=/opt/informix
export INFORMIXDIR
PATH=$PATH:$INFORMIXDIR/bin
export PATH
INFORMIXSERVER=vera_se
export INFORMIXSERVER
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/esql
export LD_LIBRARY_PATH
APACHE
./configure --prefix=/usr/local/apache
PHP
./configure --with-mysql --with-informix==$INFORMIXDIR --with-apache=/home/admin/install/apache_1.3.24 --enable-track-vars
make
make install
APACHE
./configure --activate-module=src/modules/php4/libphp4.a
make
make install
IN $INFORMIXDIR/ETC/SQLHOST i have this:
vera_se setlitcp radnice sqlexec
AND IN ETC/SERVICES i have this:
sqlexec 1526/tcp
ANDIN ETC/HOSTS i have this:
220.220.220.250 radnice
BAD NO CONNECTED 🙁
Warning: ifx_connect: E [SQLSTATE=IX 000 SQLCODE=25507] in /hosting/index.php on line 6
Couldn't make a connection!
ERROR NUMBER 25507 is this:
25507 You specified an unknown service name or protocol.
Tell your database administrator to examine the sqlhosts file entry. Check that the NETTYPE settings in the ONCONFIG file match the NETTYPE settings in the sqlhosts file.
HEEEELP , WHERE AM I WRONG .
THANKS