mirror of https://github.com/MISP/MISP
fix: rhel7 diagnostics page detection
parent
ca403494c1
commit
18f6bb0951
|
@ -187,6 +187,18 @@ sed -i.org -e 's/^;\(clear_env = no\)/\1/' /etc/opt/rh/rh-php71/php-fpm.d/www.co
|
|||
systemctl restart rh-php71-php-fpm.service
|
||||
```
|
||||
|
||||
## 3.06/ Enable dependencies detection in the diagnostics page
|
||||
Add the following content to `/etc/opt/rh/rh-php71/php-fpm.d/www.conf` :
|
||||
```
|
||||
env[PATH] = /usr/bin:/opt/rh/rh-php71/root/usr/bin:/opt/rh/rh-php71/root/usr/sbin:/opt/rh/rh-python36/root/usr/bin
|
||||
env[LD_LIBRARY_PATH] = /opt/rh/rh-php71/root/usr/lib64:/opt/rh/rh-python36/root/usr/lib64
|
||||
env[MANPATH] = /opt/rh/rh-php71/root/usr/share/man:/opt/rh/rh-python36/root/usr/share/man
|
||||
env[PKG_CONFIG_PATH] = /opt/rh/rh-python36/root/usr/lib64/pkgconfig
|
||||
env[XDG_DATA_DIRS] = /opt/rh/rh-python36/root/usr/share
|
||||
```
|
||||
Then run `systemctl restart rh-php71-php-fpm.service`.
|
||||
This allows MISP to detect GnuPG, the Python modules' versions and to read the PHP settings.
|
||||
|
||||
# 4/ CakePHP
|
||||
|
||||
## 4.01/ CakePHP is now included as a submodule of MISP
|
||||
|
|
Loading…
Reference in New Issue