|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #84 php3_extension_dir not working
Submitted: 1998-02-19 12:16 UTC Modified: 1998-02-21 12:45 UTC
From: gorgo at caesar dot elte dot hu Assigned: rasmus (profile)
Status: Closed Package: Other
PHP Version: 3.0b4 OS: linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: gorgo at caesar dot elte dot hu
New email:
PHP Version: OS:


 [1998-02-19 12:16 UTC] gorgo at caesar dot elte dot hu
I have a compiled to use with the apache module
version of php3. It works correctly if I dl() it with
the full path. It doesnt work if I set
php3_extension_dir /usr/lib/php3/apache
in httpd.conf, and try to dl() it with only the filename.
Strace shows that is only searched in /lib and
/usr/lib, but not in /usr/lib/php3/apache:

read(20, "<?\n\n\tdl(\"\");\n\tdl("..., 4096) = 275
read(20, "", 4096)                      = 0
open("/lib/", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("/usr/lib/", O_RDONLY)     = -1 ENOENT (No such file or directory)
umask(022)                              = 022



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-02-21 12:45 UTC] rasmus
There was a problem in the Apache module merge_dir function which has been fixed in beta5.  Please
grab beta5 when it is available and try this again.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 05:01:24 2023 UTC