Enable Bcmath to install Zabbix

Asked

Viewed 467 times

-1

I’m trying to install Zabbix in my notebook Ubuntu 18.04 and when it comes time to configure in the browser appears this message inserir a descrição da imagem aqui

I’ve used this command on the terminal apt-get install php-bcmathand then I rebooted Apache and it didn’t work out, how can I activate?

  • Try sudo apt-get install php7.0-bcmath, sudo apt-get install php7.1-bcmatch or sudo apt-get install php7.2-bcmath etc. It depends on your version of PHP. Without informing it, it is difficult.

  • sudo apt-get install php7.0-bcmatch Reading package lists... Ready Building dependency tree Reading status information... Ready E: Impossible to find php7.0-bcmatch E: Couldn’t find any package by glob 'php7.0-bcmatch' E: Could not find the package via the regular expression 'php7.0-bcmatch' When I put 7.1 or 7.2 it gives the same answer

  • What version of your PHP php -v? You can also use the command sudo apt-cache search bcmath

  • This is PHP 7.1.15-0

  • Then you can use the sudo ... php7.1-bcmath Or the apt-cache as cited.

  • apt-cache php7.1-bcmath?

  • sudo apt-get install php7.1-bcmath if it doesn’t work use sudo apt-cache search bcmath to see what options you can use.

  • daniel@DanielPC:~$ sudo apt-cache search bcmath php-bcmath - Bcmath module for PHP [default] php7.2-bcmath - Bcmath module for PHP daniel@DanielPC:~$ sudo apt-get install php7.2-bcmatch Lendo listas de pacotes... Pronto Construindo árvore de dependências Lendo informação de estado... Pronto E: Impossível encontrar o pacote php7.2-bcmatch E: Couldn't find any package by glob 'php7.2-bcmatch' E: Não foi possível encontrar o pacote através da expressão regular 'php7.2-bcmatch'

  • package not found

  • @Valdeirpsr managed to solve, I updated php to version 2 and then used sudo apt-get install php7.2-bcmath and the problem was solved, thank you very much for your help!

Show 5 more comments

1 answer

0

@Valdeirpsr managed to solve, I updated php to version 2 and then used sudo apt-get install php7.2-bcmath and the problem was solved, thank you very much for your help!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.