Informix error with ifx_pconnect()
Posted in 2004
I have had this problem in the past on another machine and fixed it by setting the environment variables for INFORMIXDIR and INFORMIXSERVER. When adding the same lines on the new machine I still get the following message: Warning: ifx_pconnect(): E [SQLSTATE=IX 001 SQLCODE=-1829] in :\\webroot\\PHPinclude\\db_vars.inc on line 7 I tried doing what I did before, but still is not working. Doing "phpinfo();" The following information is displayed: PHP Version 4.3.6 System Windows NT DAVIDS 5.1 build 2600 Build Date Apr 14 2004 17:17:11 Server API Apache 2.0 Handler Under apache2handler: Apache Version Apache/2.0.49 (Win32) PHP/4.3.6 Under Apache Environment: INFORMIXDIR C:\\informix INFORMIXSERVER dbserver And under Environment I have: INFORMIXDIR C:\\informix I am using the Informix-Client 9.21 2.30.TC1. I have been able to connect to the Informix database using ILogin Demo and I have been able to connect using WinSQL. Any help would be appreciated. Thanks, David