Re: Informix and PHP
| From: | Pietuka Krustiòð | Date: | Wed, 17 Mar 2004 14:45:31 +0000 |
| Subject: | Re: Informix and PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180678@lists.php.net to get a copy of this message | ||
We have a Informix on Windows server and I am trying to reach that from my RedHat 9.
I have read that information on unixODBC site about unixODBC+Informix, but when
I try ./isql -v database i get nothing more but:
[ISQL]ERROR: Could not SQLConnect
We have set up UnixODBC and Informix CSDK
We have /etc/services OK
We have $INFORMIXDIR/etc/sqlhosts OK
We have set $ODBCINI, $PATH, $INFORMIXDIR as instructed
We have those odbc.ini and odbcinst.ini OK
BUT!! We receive nothing more than that poor
[ISQL]ERROR: Could not SQLConnect
:(
--
Best regards,
Pietuka
Quoting James 'Chip' Kaufman <jkaufman@wamnetgov.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wednesday 17 March 2004 03:36, Pietuka Krustiòð wrote:
> > Hi,
> >
> > Now i have to connect to Informix with PHP and retrieve some data. I
> > have found out that I have to install unixODBC and Informix CSDK. The
> > problem is: i dont know how to do that. Google returns no reasonable
> > results on that. I can't find anything in the BIG site of IBM
> > neither. Anyone has some 10-20 line story on installing Informix
> > client and unixODBC? Please.
>
> I am not using MaxDB, but am using Informix on a Red Hat 8.0 server. I
> can connect to Informix from other Linux boxes using Informix CSDK.
> What platform are you running Informix on? What platforms are
> connecting? What OS are you running. Etc.
>
> I found that building PHP from source was easier than trying to add the
> Informix extension to an already installed PHP.
>
> - --
> James 'Chip' Kaufman
> jkaufman@wamnetgov.com
> 952-346-3532
> PGP key: 697D43DE
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQFAWF9drlGDUWl9Q94RAl3lAKCOaXCB+yzSzV54eo6Imixn7qeLOQCfTq47
> zGeuCR1Pfk2UU1UToA1s7i0=
> =UA2s
> -----END PGP SIGNATURE-----
>
>
>
-- Your free mail Inbox.lv
---
This message contains no viruses.
Guaranteed by Kaspersky Anti-Virus.
http://www.antivirus.lv