MISP / misp-cloud

misp-cloud - Cloud-ready images of MISP
72 stars 16 forks source link

PHP 7.2 install fails with current script #26

Closed NetwarSystem closed 2 years ago

NetwarSystem commented 3 years ago

Hello,

I ended up using the misp-cloud install script thanks to a suggestion in this thread:

https://github.com/MISP/misp-book/issues/204

The script is hard coded to expect php7.2 but on Ubuntu 20.04 the default is now php7.4

I modified these two lines from 7.2 to 7.4 and the install process ran smoothly, I think I have a correctly working system.

PHP_INI='/etc/php/7.4/apache2/php.ini'

apt install -qy libapache2-mod-php php php-cli php-dev php-json php-xml php-mysql php7.4-opcache php-readline php-mbstring php-redis php-gnupg php-gd > /dev/null 2>&1