Results 1 to 4 of 4

Thread: Installing PHP module bcmath

  1. #1
    Join Date
    Oct 2007
    Location
    Norway
    Beans
    209
    Distro
    Ubuntu 24.04 Noble Numbat

    Installing PHP module bcmath

    Hi,

    I have som trouble installing the bcmath module on my Ubuntu server.

    Installed with the command:
    Code:
    sudo apt install php-bcmath
    When checking with the command:
    Code:
    sudo apt-cache search php
    I get a lot of modules installed, also the bcmath:
    Code:
    php8.2-bcmath - Bcmath module for PHP
    However the webservice where this module is required, is failing because of the missing module.
    When checking my server with phpinfo:
    Code:
    <?php
    phpinfo();
    ?>
    I can't find it.

    Any suggestions on how to resolve this issue?
    http://netland.ddns.net/ Linux Registered User #518648
    Ubuntu 20.04 LTS Server
    Always have your stuff when you need it with @Dropbox. 2GB account is free! http://db.tt/2aZta6Z

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Installing PHP module bcmath

    Did you restart your apache2 instance after installation?

    Code:
    sudo systemctl restart apache2
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  3. #3
    Join Date
    Oct 2007
    Location
    Norway
    Beans
    209
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Installing PHP module bcmath

    Quote Originally Posted by SeijiSensei View Post
    Did you restart your apache2 instance after installation?

    Code:
    sudo systemctl restart apache2
    Yes. I even restarted the whole server.
    http://netland.ddns.net/ Linux Registered User #518648
    Ubuntu 20.04 LTS Server
    Always have your stuff when you need it with @Dropbox. 2GB account is free! http://db.tt/2aZta6Z

  4. #4
    Join Date
    Oct 2007
    Location
    Norway
    Beans
    209
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Installing PHP module bcmath

    Solved. Was trouble with different versions of php...
    Works fine now.
    http://netland.ddns.net/ Linux Registered User #518648
    Ubuntu 20.04 LTS Server
    Always have your stuff when you need it with @Dropbox. 2GB account is free! http://db.tt/2aZta6Z

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •