php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2391 using php4 with apache 1.3.9 and auth_access with dbm files
Submitted: 1999-09-27 17:37 UTC Modified: 1999-11-10 13:45 UTC
From: php4 at millsys dot com Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0 Beta 2 OS: Linux 2.0.36
Private report: No CVE-ID: None
 [1999-09-27 17:37 UTC] php4 at millsys dot com
Configured PHP4 with:
./configure --with-mysql --with-apache=../apache_1.3.9 --enable-track-vars

Compiled Apache with the DBM module on. The full bloated
executable is about 2.8M because of PHP4. Both PHP4 and
DBM access files do not work or have problems executing.
If you remove DBM from Apache and recompile, PHP4 runs
smoothly. Likewise if you remove PHP4, the application
is reduced to a 400K file and DBM runs correctly.
The error in the log file for the web server is:

[Mon Sep 27 17:18:26 1999] [error] [client x.x.x.x] (2)No such file or directory: could not open dbm auth file: /var/httpd/ht/access
[Mon Sep 27 17:18:26 1999] [error] [client x.x.x.x] DBM user guest not found: /var/httpd/htdocs

Of course after removing PHP4 the file is found correctly.
Apache is compiled with (-Wall -O2) and using the default
Apache libraries for DBM (-ndbm). I tried gdbm but that
has the same results.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-10 13:45 UTC] sas at cvs dot php dot net
I guess you are a victim of interposing. To reduce the size of PHP configure with --disable-debug. To solve the auth_access problem either

- use the same database library in PHP/DBA and auth_access (should always work)
- use APXS to compile PHP as DSO, additionally configure with --enable-versioning (might work)


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC