#34686 [NEW]: ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829]
| From: | douglas at elementech dot co dot za | Date: | Fri, 30 Sep 2005 07:19:04 +0000 |
| Subject: | #34686 [NEW]: ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829] | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-85788@lists.php.net to get a copy of this message | ||
From: douglas at elementech dot co dot za
Operating system: Red Hat Linux Enterprise 3
PHP version: 5.0.5
PHP Bug Type: Informix related
Bug description: ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829]
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.
--
Edit bug report at http://bugs.php.net/?id=34686&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34686&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34686&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34686&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34686&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34686&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34686&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34686&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34686&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34686&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34686&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34686&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34686&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34686&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34686&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34686&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34686&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34686&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34686&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34686&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34686&r=mysqlcfg