|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-02-21 12:45 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 23:00:01 2025 UTC |
I have a pgsql.so 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 pgsql.so is only searched in /lib and /usr/lib, but not in /usr/lib/php3/apache: read(20, "<?\n\n\tdl(\"pgsql.so\");\n\tdl("..., 4096) = 275 read(20, "", 4096) = 0 open("/lib/pgsql.so", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/pgsql.so", O_RDONLY) = -1 ENOENT (No such file or directory) umask(022) = 022 Greg