PHP 4.0 Bug #2391: using php4 with apache 1.3.9 and auth_access with dbm files
| From: | php4 at millsys dot com | Date: | Mon, 27 Sep 1999 21:37:00 +0000 |
| Subject: | PHP 4.0 Bug #2391: using php4 with apache 1.3.9 and auth_access with dbm files | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11340@lists.php.net to get a copy of this message | ||
From: php4@millsys.com
Operating system: Linux 2.0.36
PHP version: 4.0 Beta 2
PHP Bug Type: DBM/DBA related
Bug description: using php4 with apache 1.3.9 and auth_access with dbm files
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.