[Xapian-tickets] [Xapian] #371: xapian.php in /usr/share/php instead of /usr/share/php5
Xapian
nobody at xapian.org
Sat May 16 08:52:02 BST 2009
#371: xapian.php in /usr/share/php instead of /usr/share/php5
-----------------------------+----------------------------------------------
Reporter: ijansch | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings | Version:
Severity: normal | Blockedby:
Platform: Linux | Blocking:
-----------------------------+----------------------------------------------
The ubuntu packages install xapian.php in the /usr/share/php5 folder;
however, php5's include path on ubuntu users /usr/share/php instead,
making the php examples break if xapian.php isn't moved.
The examples then include 'php5' in the path of the file include, assuming
that /usr/share is in the include path. This is not the case.
Suggestion: change the example to include "xapian.php" and change the
package so it installs in /usr/share/php
(An even nicer solution would be if the php xapian extension itself would
contain the classes and wouldn't need xapian.php at all)
--
Ticket URL: <http://trac.xapian.org/ticket/371>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list