You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Vinicius Mommensohn <vi...@vaiamerda.com.br> on 2001/08/24 02:29:14 UTC

general/8230: Berkeley DB2 problem when use with php4

>Number:         8230
>Category:       general
>Synopsis:       Berkeley DB2 problem when use with php4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 23 17:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     vinicius@vaiamerda.com.br
>Release:        1.3.19-5
>Organization:
apache
>Environment:
RedHat 7.1 - Kernel 2.4.2-2
>Description:
When i try to write some data to a .db file using Berkeley DB2 database with php4 i get an error like connection refused. Error trying to connect with the network. The error do not appear when i use apache-1.3.14-3

>How-To-Repeat:
make one php script like this

<html>
<body>
<?
  $open = dba_open("/home/httpd/html/file.db", "c", "db2");
    ins = dba_replace("key", "value", $open);
  $close = dba_close($open);
?>
</body>
</html>
>Fix:
dont know
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]