|  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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 03:01:28 2024 UTC