Trouble with bcmath on Kali Linux

  • Hi Bagisto forum,

    I have Kali Linux and I am trying to install Bagisto.
    Everything worked so far, from migration and seeding, to installing composer modules. When I do "php artisan serve", it loads on as intended.

    The home page shows and the admin login shows but when I use the credentials to log in, going to the dashboard, I get the following error:

    The bcmath extension is required by CurrencyFormatter.

    I have installed bcmath on my machine - the latest one actually : php7.3-bcmath but still, I get stuck.

    Help ?


  • Hi @Kabiru

    Kindly check you php version and install bcmath according to your php version.

    Like if you have php - 7.0

    then try to run - sudo apt install php7.0-bcmath & so on.


  • Hi, I have php version 7.2.

    When I try "sudo apt-get install php7.2-bcmath" it says:

    Unable to locate package php7.2-bcmath


Log in to reply