ReinerNippes / nextcloud

Ansible playbook to install nextcloud, php, nginx or apache, mariadb or postgres, redis-server, onlyoffice or collabora office
MIT License
412 stars 141 forks source link

Debian 10.6 fresh install, warning bcmath gmp missing #100

Open marco-aa opened 3 years ago

marco-aa commented 3 years ago

Hello All,

thanks for you usefull ansible playbook :) It works fine !

Some minor issue: Debian 10.6 fresh installed - it pulled NC 20.0.2 I checked the Admin Panel for security and installation issues and got a warning bcmath und gmp are missing.

First i tried apt-get install php-pcmath php-gmp - but the warning remains. I figured out - php7.4 packages where installed (i guess because php-something is the default meta package).

Second i tried apt-get install php7.3-bcmath php7.3-gmp; systemctl restart php7.3-fpm.service Now warnings are gone :)

Questions i have - what should be the default php version and is it "intentional" that this packages are not installed ?

Thanks for you feedbacks

I took a look - https://github.com/ReinerNippes/nextcloud/blob/master/roles/prep_php/tasks/Debian.yml maybe bcmath and gmp should be added here ? Ok i forgot about inventory: it is php Version php_version= '7.3 :)

ReinerNippes commented 3 years ago

I updated the task file. (commit 04855c7f3a)

Bluscrn commented 3 years ago

bcmath is also a problem with CentOS7