mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated Install-LibreNMS.md (#14798)
Default PHP version of Debian 11 (following this documentation) is 8.2 currently, instead of 8.1
This commit is contained in:
@@ -133,8 +133,8 @@ Ensure date.timezone is set in php.ini to your preferred time zone.
|
||||
|
||||
=== "Debian 11"
|
||||
```bash
|
||||
vi /etc/php/8.1/fpm/php.ini
|
||||
vi /etc/php/8.1/cli/php.ini
|
||||
vi /etc/php/8.2/fpm/php.ini
|
||||
vi /etc/php/8.2/cli/php.ini
|
||||
```
|
||||
|
||||
Remember to set the system timezone as well.
|
||||
@@ -214,8 +214,8 @@ exit
|
||||
|
||||
=== "Debian 11"
|
||||
```bash
|
||||
cp /etc/php/8.1/fpm/pool.d/www.conf /etc/php/8.1/fpm/pool.d/librenms.conf
|
||||
vi /etc/php/8.1/fpm/pool.d/librenms.conf
|
||||
cp /etc/php/8.2/fpm/pool.d/www.conf /etc/php/8.2/fpm/pool.d/librenms.conf
|
||||
vi /etc/php/8.2/fpm/pool.d/librenms.conf
|
||||
```
|
||||
|
||||
Change `[www]` to `[librenms]`:
|
||||
@@ -470,7 +470,7 @@ Feel free to tune the performance settings in librenms.conf to meet your needs.
|
||||
```bash
|
||||
rm /etc/nginx/sites-enabled/default
|
||||
systemctl reload nginx
|
||||
systemctl restart php8.1-fpm
|
||||
systemctl restart php8.2-fpm
|
||||
```
|
||||
|
||||
## SELinux
|
||||
|
||||
Reference in New Issue
Block a user