|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-30 09:23 UTC] douglas at elementech dot co dot za
[2005-09-30 10:08 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 13:00:01 2025 UTC |
Description: ------------ I have configured and installed PHP successfully, everything works except when I try and create a Informix DB Connection: Reproduce code: --------------- <?php $conn = ifx_connect("db@host", "username", "password"); ?> I get the following error: Warning: ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829] in /www/htdocs/test.php on line 2 PHP was configured with: ./configure --with-mysql=/usr/local/mysql --with-informix=/opt/informix --with-apxs2=/www/bin/apxs --with-gd --with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --enable-ftp --with-mssql=/usr/local --enable-track-vars --with-freetype --with-pdflib=/usr/local/pdflib Both $INFORMIXDIR and $INFORMIXSERVER have been set. Expected result: ---------------- Create the DB connection. Any help or advice would be appreciated.