Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem triying to conect with informix

Status
Not open for further replies.

RobertoMexicali

Programmer
May 2, 2003
39
MX
Hi everybody, i'm new on php and i'm doing my first proyect with php and informix

i'm working with php 5.2.3, apache 2.2.4 ifx clinet SDK 3.5, on wxp

database is informix 9.4 on hp-ux

I already make connection with ilogin and the odbc is working fine, in fact, i create a table and execute querys from webdev (with webdev native languaje), so the connection is fine

but, if i run this php code on my program:
ifx_connect("desa@BDSISS09", "user", "password")

it gives this error:
ifx_connect: E [SQLSTATE=IX 000 SQLCODE=-25560]

i think is a matter of php or apache configuration, but as i said, i'm totally new with this

i already uncomment extension=php_ifx.dll, the dll exists on the C:\AppServ\php5\ext

any tips?

PD: if i run on my browser, got this on the informix part:

Active Persistent links 0
Active links 0
ESQL/C Version no value

i dont know why ESQL/C version has no value, don't know how to activate or configure this option (in case that is necesary)

Thanks in advance
 
interesting, this used to be a bug
but that seems to be a long time ago
There is also a thread I found which says you don't have informixserver set
The orignal poster didn't seem to understand what was being said, just in case INFORMIXSERVER is an enviromment cvaraible which points to the name of the server to connec to. I recall from years ago that informix has config files called sometging like service.ini and when you start up a servcie you give commands like oninit from the command prompt.
Can you do a simple page with a call to phpinfo() to see what's going on ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top