From 92251f4a6c8fa409b0a6ddef53dd6304390a9168 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 6 Oct 2023 04:09:46 +0000 Subject: [PATCH] Updated CLD installation description --- cld/README.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/cld/README.md b/cld/README.md index 6709facb2..933dbceee 100644 --- a/cld/README.md +++ b/cld/README.md @@ -57,27 +57,21 @@ Install it: sudo make install ``` -Change to the folder with the available modules. When you use PHP 8.0 on Debian it is: +Change to the folder with the available modules. When you use PHP 8.2 on Debian it is: ``` -cd /etc/php/8.0/mods-available +cd /etc/php/8.2/mods-available ``` -Create the file `cld.ini` with this content: +Create the file `cld2.ini` with this content: ``` ; configuration for php cld2 module ; priority=20 extension=cld2.so ``` -Change to the folder `conf.d` in the folder of your `php.ini`. +Enable the module for all versions and all sapi: ``` -cd /etc/php/8.0/cgi/conf.d -``` -This depends on the way you installed the PHP support for your webserver. Instead of `cgi` it could also be `apache2` or `fpm`. - -Create a symbolic link to install the module: -``` -ln -s /etc/php/8.0/mods-available/cld.ini +phpenmod -v ALL -s ALL cld2 ``` Then restart the apache or fpm (or whatever you use) to load the changed configuration.