Install PECL

From The Maceys in California
Revision as of 23:18, 25 January 2026 by Lynn Macey (talk | contribs) (Created page with "===Pre-requisites=== There are usually one or two of them around. This procedure requires a full lamp installation. MediaWiki has an optional requirement for a module that is part of the PECL library. PECL must be installed in order to use it. Install PECL <syntaxhighlight lang=shell> pecl install APCu sed -i 's/;extension=xsl/a extension=apcu.so' systemctl restart php8.3-fpm </syntaxhighlight> ====Install Composer==== Composer is used to install Mediawiki extensi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pre-requisites

There are usually one or two of them around. This procedure requires a full lamp installation.

MediaWiki has an optional requirement for a module that is part of the PECL library. PECL must be installed in order to use it.

Install PECL

pecl install APCu
sed -i 's/;extension=xsl/a extension=apcu.so'
systemctl restart php8.3-fpm

Install Composer

Composer is used to install Mediawiki extensions and PHP modules needed by the extensions.

sudo apt install composer
composer --version