fix: rhel7 diagnostics page detection

pull/4136/head
iwitz 2019-02-11 11:54:14 +01:00 committed by GitHub
parent ca403494c1
commit 18f6bb0951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -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