ID: 12384 Updated by: lobbin Old Summary: Can't connect to Ingres II Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: *Database Functions Operating System: Redhat Linux 6.2 PHP Version: 4.0.6 New Comment:
No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-12-20 09:19:56] [EMAIL PROTECTED] Can you please try this with PHP 4.1.0? R. ------------------------------------------------------------------------ [2001-07-25 20:39:30] [EMAIL PROTECTED] PHP compiled as an APXS module into apache 1.3.14 with Ingres II v2.5. Although connecting through sql from the unix command line works, I can't get a connect to the Ingres database through PHP. ingtest.php <? $dbname = "kramer::imdb"; $dbuser = "webmastr"; $dbpass = ""; ingres_connect($dbname, $dbuser, $dbpass); ?> The error returned always is: Jul 25 18:36:38 zcalb00d httpd: PHP Warning: Ingres II: Server or API error : Unable to authenticate client's user ID. in /data/www/htdocs/mdq3/ingtest.php on line 7 Jul 25 18:36:38 zcalb00d httpd: PHP Warning: Ingres II: SQLSTATE : 08004 in /data/www/htdocs/mdq3/ingtest.php on line 7 Jul 25 18:36:38 zcalb00d httpd: PHP Warning: Ingres II: Unable to connect to database (kramer::imdb) in /data/www/htdocs/mdq3/ingtest.php on line 7 Here is the configure line used to compile although I have tried shrinking the enable list down to do without the java, oracle, ldap etc with no change. #!/bin/sh CC=gcc II_SYSTEM=/opt/ca/caingres ORACLE_HOME=/u01/home/oracle/dist/8.1.5 LD_LIBRARY_PATH=/u01/home/oracle/dist/8.1.5/lib:$LD_LIBRARY_PATH PATH=$PATH:/usr/java/jdk1.3.1/bin export CC II_SYSTEM ORACLE_HOME LD_LIBRARY_PATH PATH ./configure --prefix=/local/apps/fw/php \ --exec-prefix=/local/apps/fw/php \ --with-apxs=/usr/sbin/apxs \ --enable-track-vars \ --enable-yp \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-debug \ --with-java=/usr/java/jdk1.3.1 \ --with-oci8 \ --with-oracle \ --without-mysql \ --with-ldap \ --with-gd \ --with-gdbm \ --enable-sigchild \ --enable-versioning \ --with-ingres \ --enable-ftp ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12384&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]