php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2845 Compiling php3 with Apache Module, breaks native dbm authentication.
Submitted: 1999-11-27 15:32 UTC Modified: 1999-11-27 17:06 UTC
From: djordan at isp-expressway dot net Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 3.0.12 OS: BSDi 3.x
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: djordan at isp-expressway dot net
New email:
PHP Version: OS:

 

 [1999-11-27 15:32 UTC] djordan at isp-expressway dot net
After compiling php3 with the Apache 1.3.9 module, we noticed that our native
auth_dbm routines for Apache were broken.

To reproduce it:

./configure --with-mysql --with-apache=/DIR
make
make install
In apache source:
./configure --activate-module=src/modules/php3/libphp3.a
make
NO complaints.

However, when running the binary httpd, existing auth_dbm authentication
no longer works. Replace the binary without the php3, and it works fine.
This does not seem to affect auth_db, just auth_dbm.

BSDi 3.x
Perl 5.005_03
PHP 3.0.12
MySQL 3.22.27
Apache 1.3.9

I have searched *all* newsgroups and mailing list archives.

Bug ?

Dayne Jordan
http://www.isp-expressway.net
=======================

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-27 17:06 UTC] rasmus at cvs dot php dot net
This is a dbm library mismatch issue.  Figure out which dbm library your original Apache binary was linked against and then compile PHP against that same one.
A first easy test would be to edit php's config.h file and change the #define GDBM 1 to #define GDBM 0 and turn on NDBM by setting #define NDBM 1
You can also try using the appropriate --with-?dbm php configure switch.  See ./configure --help
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Nov 26 16:01:23 2020 UTC