Skip to content

Commit bbdedc5

Browse files
committed
Documentation: Update Xapian install guide
1 parent 8527a09 commit bbdedc5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

public/documentation/installation_guide.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,14 +515,19 @@ <h2>7. Xapian text indexation</h2>
515515
This is probably not supported for Windows setups (untested), but it should work on Linux and macOS.<br>
516516
To install Xapian (a requirement to use the internal search engine), follow the instructions below.<br>
517517
<pre>
518-
sudo apt install libxapian-dev catdoc html2txt unrtf
518+
sudo apt install libxapian-dev catdoc html2text unrtf ghostscript poppler-utils
519519
cd /tmp
520520
wget https://oligarchy.co.uk/xapian/1.4.25/xapian-bindings-1.4.25.tar.xz
521521
# use 1.4.25 because this matches the version of the libxapian-dev package on Ubuntu 25.04
522522
tar -xJf xapian-bindings-1.4.25.tar.xz
523523
cd xapian-bindings-1.4.25
524524
./configure
525525
make install
526+
cd /etc/php/8.3/mods-available
527+
cat "extension=xapian.so" &gt;&gt; xapian.ini
528+
cd /etc/php/8.3/apache2/conf.d
529+
ln -s ../../mods-available/xapian.ini 26-xapian.ini
530+
systemctl restart apache2
526531
</pre>
527532
This should make the Xapian extension available from Chamilo.<br>
528533
Next, go to Settings -&gt; Search -&gt; Enable, and follow the instructions there.<br>

0 commit comments

Comments
 (0)