mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 23:23:41 +00:00
Updated CLD installation description
This commit is contained in:
parent
18266ea6ef
commit
92251f4a6c
1 changed files with 5 additions and 11 deletions
|
@ -57,27 +57,21 @@ Install it:
|
||||||
sudo make install
|
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
|
; configuration for php cld2 module
|
||||||
; priority=20
|
; priority=20
|
||||||
extension=cld2.so
|
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
|
phpenmod -v ALL -s ALL cld2
|
||||||
```
|
|
||||||
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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then restart the apache or fpm (or whatever you use) to load the changed configuration.
|
Then restart the apache or fpm (or whatever you use) to load the changed configuration.
|
||||||
|
|
Loading…
Reference in a new issue