ID: 23833 User updated by: pm dot aubertel at free dot fr Reported By: pm dot aubertel at free dot fr -Status: No Feedback +Status: Closed Bug Type: Ingres II related Operating System: Solaris 2.8 PHP Version: 4.3.2RC4 New Comment:
I figured out what was wrong with the connexion. After searching in Google for "E_GC1008_INVALID_USER", I have found a post in the comp.databases.ingres forum explaining a modification to do in Ingres. It is related to Ingres security. I had to modify the "config.dat" file in Ingres using cbf. This is what I changed: ii.<hostname>.gcf.mech.null.enabled: false -> true ii.<hostname>.gcf.security_mechanism: ingres -> null After that, I bounced Ingres and the php code worked. Previous Comments: ------------------------------------------------------------------------ [2003-07-15 02:25:24] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-07-09 15:54:10] [EMAIL PROTECTED] Did you find any reasons why the sample program works and PHP not..? ------------------------------------------------------------------------ [2003-05-30 02:51:41] pm dot aubertel at free dot fr The problem still remains when I call php directly: % php readdb.php with readdb.php containing: <?php ingres_connect ("mydb") or die ("Could not connect"); print ("Connected successfully"); ingres_close (); ?> So it is not related to Apache. Besides this, the asc sample program in the Ingres distribution (<INGRES>/demo/api/asc) which uses the same API as ii.c works perfectly... I'm trying to understand why now. ------------------------------------------------------------------------ [2003-05-28 03:16:24] pm dot aubertel at free dot fr I just cleaned, recompile and re-install php with --disable-posix and do the same for apache but the result is the same. ------------------------------------------------------------------------ [2003-05-27 17:45:28] [EMAIL PROTECTED] Someone mentioned in the manual that adding --disable-posix made it work for him..try adding that to your configure line. (rm -f config.cache first!) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23833 -- Edit this bug report at http://bugs.php.net/?id=23833&edit=1