Results 1 to 3 of 3

Thread: install php7.1-bcmath on ubuntu trusty 14.04

  1. #1
    Join Date
    Aug 2014

    install php7.1-bcmath on ubuntu trusty 14.04

    This question is only for Trusty (14.04)... Here is what I have done to install php7.1-bcmath:

        sudo add-apt-repository ppa:ondrej/php
        sudo apt update
        sudo apt install php7.1-bcmath
    But I got the following result

        E: Unable to locate package php7.1-bcmath

    I assume this is because ppandrej/php support ubuntu versions starting from 16.04 and upper.

    Is there a way to circumvent this? Like copying a deb file and using dpkg (If yes, where is this file)?

    FYI, here is the result of `apt-cache search php7` (very small isn't it?)

        php7.1-cli - command-line interpreter for the PHP scripting language
        php7.1-readline - readline module for PHP
        php7.1-opcache - Zend OpCache module for PHP
        php7.1-mysql - MySQL module for PHP
        php7.1-zip - Zip module for PHP
        php7.1-mbstring - MBSTRING module for PHP
        php7.1-json - JSON module for PHP
        php7.1-xml - DOM, SimpleXML, WDDX, XML, and XSL module for PHP
        php7.1 - server-side, HTML-embedded scripting language (metapackage)
        php7.1-gd - GD module for PHP
        php7.1-curl - CURL module for PHP
        php7.1-bz2 - bzip2 module for PHP
        libapache2-mod-php7.1 - server-side, HTML-embedded scripting language (Apache 2 module)
    I know that I should upgrade this system, but I am afraid to do it as if any problem I will have no time to fix it as I am going in vacation after tomorrow... (and this is a production system)

  2. #2
    Join Date
    Oct 2004
    33.4N -112.1W
    Ubuntu Budgie

    Re: install php7.1-bcmath on ubuntu trusty 14.04

    For further details regarding end-of-life for PHP on 14.04 you may want to read here:

    Also see package author's comments about continued PHP installs on 14.04:
    The current state of packaging is archived in the git repository and if you want to shoot yourself into the foot, you can compile your own packages, it’s pretty simple to do so.

  3. #3
    Join Date
    Aug 2014

    Re: install php7.1-bcmath on ubuntu trusty 14.04

    Hi Xian,

    I think you gave me the first step: I must compile it.
    Do you know how to do so?

    Thank you

Tags for this Thread


Posting Permissions

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