Re: Ubuntu 18.04lts - cannot find bcmath package

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: plug-discuss
Subject: Re: Ubuntu 18.04lts - cannot find bcmath package
Sorry to be the one to let you down again, but PHP comes out of the
universe repository and to quote the note in the sources.list file:
"## software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team."

So there isn't any updates to PHP in the backports, because PHP isn't a
part of the main Ubuntu packages.

You can try installing php7.1 from the PPA on this site:
https://launchpad.net/~ondrej/+archive/ubuntu/php?field.series_filter=xenial

I've used it in the past to downgrade an 16.04 box to php 5.6 long
enough to get off the versions of the software that were keeping me on
that older version.

Brian Cluff

On 10/07/2018 08:32 PM, wrote:
>
>
> I got to thinking... why would Ubuntu 16.04lts be supported into 2021
> and have PHP 7.0 a part of the mix? There is no option to update to
> PHP 7.1.x.
>
> Then I stated to think maybe they backport.  Sure enough they do :
> https://help.ubuntu.com/community/UbuntuBackports
>
> Problem solved
>
> Thanks!!
>
>
>
>
> On 2018-10-07 10:45, wrote:
>
>>
>> That is a problem - PHP 7.0.
>>
>> I started by installing Ubuntu 18.04lts and then found out that
>> Magento 2 is not compatible with PHP 7.2.
>>
>> With Magento 2 not being compatible with PHP 7.2...  I tried
>> installing PHP 7.1 on Ubuntu 18.04lts, however there is issues with
>> unmet dependencies.
>>
>> I'm a software developer not a system admin.  I can do some stuff...
>> I like to install what comes with the distro.  I like Ubuntu...
>> however this is not as clean as I'd like it to be.
>>
>> Here is the message I get when trying to install PHP 7.1 on Ubuntu
>> 18.04lts
>>
>> ---
>>
>> The following packages have unmet dependencies:
>> php7.1-mcrypt : Depends: libmcrypt4 but it is not installable
>> php7.1-zip : Depends: libzip4 (>= 1.0) but it is not installable
>> E: Unable to correct problems, you have held broken packages.
>>
>> ---
>>
>> This is "test" or learning server.... for me exclusively. I'd like to
>> be able to use it for at least a year before re configuring....
>>
>> I need to load Magento 2, WordPress, and possible Drupal 8 onto this
>> server
>>
>> Any thoughts are much appreciated.
>>
>> Thanks!
>>
>> Keith
>>
>>
>>
>> On 2018-10-07 09:19, Brian Cluff wrote:
>>
>>     I hate to point it out, but PHP 7.0 that is in Ubuntu 16.04
>>     reaches end of life in 2 months:

>>
>>     http://php.net/supported-versions.php

>>
>>     Brian Cluff

>>
>>     On 10/06/2018 06:47 PM,  wrote:

>>
>>
>>         Thank you very much.  After installing Ubuntu 18.04lts I
>>         found Magento 2 is not compatible with PHP 7.2.

>>
>>         I installed Ubuntu 16.04lts which is compatible.

>>
>>         Thank you for your help!!

>>
>>
>>
>>         On 2018-10-06 18:18, Stephen Partington wrote:

>>
>>             https://launchpad.net/ubuntu/bionic/+package/php7.2-bcmath

>>
>>             On Sat, Oct 6, 2018 at 5:05 PM <
>>             <mailto:techlists@phpcoderusa.com>> wrote:

>>
>>                 Hi,

>>
>>                 Setting up a test server for Magento 2.  Requires
>>                 bcmath.  I can find no such package.

>>
>>                 I am on Ubuntu 18.04lts that has PHP
>>                 7.2.10-0ubuntu0.18.04.1 installed.

>>
>>                 Tried using apt-cache pkgnames Bcmath and apt-cache
>>                 pkgnames php7.2-bcmath , both return to the prompt
>>                 w/o any feedback.

>>
>>                 Been searching the web to no avail.....

>>
>>                 Any suggestions appreciated.

>>
>>                 Thanks!!

>>
>>                 Keith

>>
>>
>>
>>                 ---------------------------------------------------
>>                 PLUG-discuss mailing list -
>>                 
>>                 <mailto:PLUG-discuss@lists.phxlinux.org>
>>                 To subscribe, unsubscribe, or to change your mail
>>                 settings:
>>                 http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>
>>
>>             -- 
>>             A mouse trap, placed on top of your alarm clock, will
>>             prevent you from rolling over and going back to sleep
>>             after you hit the snooze button.

>>
>>             Stephen

>>
>>             ---------------------------------------------------
>>             PLUG-discuss mailing list -
>>             
>>             <mailto:PLUG-discuss@lists.phxlinux.org>
>>             To subscribe, unsubscribe, or to change your mail settings:
>>             http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>
>>
>>
>>         ---------------------------------------------------
>>         PLUG-discuss mailing list -
>>         To subscribe, unsubscribe, or to change your mail settings:
>>         http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>
>>
>>
>>     ---------------------------------------------------
>>     PLUG-discuss mailing list - 
>>     <mailto:PLUG-discuss@lists.phxlinux.org>
>>     To subscribe, unsubscribe, or to change your mail settings:
>>     http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> <mailto:PLUG-discuss@lists.phxlinux.org>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss