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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
29 - 1 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 20:01:29 2024 UTC