Skip to content

Commit 71e725f

Browse files
committed
Documentation: Fix Xapian installation procedure + add apcu as suggested packages for CLI install
1 parent 658469e commit 71e725f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

public/documentation/installation_guide.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ <h2>1. Requirements</h2>
4141
<li>zip</li>
4242
<li>zlib</li>
4343
<li>ldap</li>
44+
<li>apcu (optional)</li>
4445
<li>redis (optional)</li>
4546
<li>xapian (optional)</li>
4647
</ul>
@@ -114,7 +115,7 @@ <h3>3.1. Software stack</h3>
114115
<pre>
115116
sudo -s
116117
apt update && apt -y upgrade
117-
apt -y install apache2 libapache2-mod-php8.3 mariadb-client mariadb-server redis-server php8.3-{bcmath,curl,exif,gd,iconv,intl,ldap,mbstring,mysql,opcache,soap,xml,zip,redis}
118+
apt -y install apache2 libapache2-mod-php8.3 mariadb-client mariadb-server redis-server php8.3-{apcu,bcmath,curl,exif,gd,iconv,intl,ldap,mbstring,mysql,opcache,soap,xml,zip,redis}
118119
a2enmod rewrite
119120
cd /var/www/
120121
mkdir chamilo
@@ -515,7 +516,7 @@ <h2>7. Xapian text indexation</h2>
515516
This is probably not supported for Windows setups (untested), but it should work on Linux and macOS.<br>
516517
To install Xapian (a requirement to use the internal search engine), follow the instructions below.<br>
517518
<pre>
518-
sudo apt install libxapian-dev catdoc html2text unrtf ghostscript poppler-utils
519+
sudo apt install libxapian-dev catdoc html2text unrtf ghostscript poppler-utils build-essential
519520
cd /tmp
520521
wget https://oligarchy.co.uk/xapian/1.4.25/xapian-bindings-1.4.25.tar.xz
521522
# use 1.4.25 because this matches the version of the libxapian-dev package on Ubuntu 25.04
@@ -524,7 +525,7 @@ <h2>7. Xapian text indexation</h2>
524525
./configure
525526
make install
526527
cd /etc/php/8.3/mods-available
527-
cat "extension=xapian.so" &gt;&gt; xapian.ini
528+
echo "extension=xapian.so" &gt;&gt; xapian.ini
528529
cd /etc/php/8.3/apache2/conf.d
529530
ln -s ../../mods-available/xapian.ini 26-xapian.ini
530531
systemctl restart apache2

0 commit comments

Comments
 (0)