[Xapian-tickets] [Xapian] #661: PHP bindings / bad hint in "Installing without root access"
Xapian
nobody at xapian.org
Mon Oct 27 13:35:55 GMT 2014
#661: PHP bindings / bad hint in "Installing without root access"
------------------------------------------+--------------------
Reporter: Sadrak | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (PHP) | Version: 1.2.19
Severity: normal | Keywords:
Blocked By: | Blocking:
Operating System: Linux |
------------------------------------------+--------------------
\
\
From INSTALL:
{{{
And you'll need to load the Xapian module in your PHP code using
something
like:
dl("../../../home/USERNAME/my_php_extensions/xapian.so");
The number of ".."s you need depends on what extension_dir is set to
in php.ini.
}}}
But the dl() is only allowed to contain a filename since PHP 5.2.5
(otherwise it is ignored):
{{{
Warning: dl(): Temporary module name should contain only filename in ...
}}}
I don't get dynamic loading to work. My "hack" is to get root and copy the
xapian.so to the EXTENSION_DIR and break the "Installing without root
access".
\
\
\
--
Ticket URL: <http://trac.xapian.org/ticket/661>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list