php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34686 ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829]
Submitted: 2005-09-30 09:19 UTC Modified: 2005-09-30 10:08 UTC
From: douglas at elementech dot co dot za Assigned:
Status: Not a bug Package: Informix related
PHP Version: 5.0.5 OS: Red Hat Linux Enterprise 3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: douglas at elementech dot co dot za
New email:
PHP Version: OS:

 

 [2005-09-30 09:19 UTC] douglas at elementech dot co dot za
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-30 09:23 UTC] douglas at elementech dot co dot za
The ifx_error and ifx_errormsg return:

E [SQLSTATE=IX 001 SQLCODE=-1829]
and
Unable to load locale categories.
 [2005-09-30 10:08 UTC] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Ask the Informix support for info about that error..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC