Bug #12384 Updated: Can't connect to Ingres II
| From: | lobbin@php.net | Date: | Thu, 20 Dec 2001 14:19:56 +0000 |
| Subject: | Bug #12384 Updated: Can't connect to Ingres II | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74582@lists.php.net to get a copy of this message | ||
ID: 12384
Updated by: lobbin
Reported By: DwayneMcGarty@Solectron.Com
Old Status: Open
Status: Feedback
Bug Type: *Database Functions
Operating System: Redhat Linux 6.2
PHP Version: 4.0.6
New Comment:
Can you please try this with PHP 4.1.0?
R.
Previous Comments:
------------------------------------------------------------------------
[2001-07-25 20:39:30] DwayneMcGarty@Solectron.Com
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