1 (edited by gonzalognzl 2020-06-23 16:38:58)

Topic: PhpMyAdmin install: remi-safe vs remi-php73 dependencies

Hi,

I have php 7.3 running on my Centos 7 server, installed using remi-safe

$sudo yum list installed | grep php
oniguruma5php.x86_64                 6.9.5+rev1-2.el7.remi            @remi-safe
php73.x86_64                         2.0-1.el7.remi                   @remi-safe
php73-php.x86_64                     7.3.19-1.el7.remi                @remi-safe
php73-php-bcmath.x86_64              7.3.19-1.el7.remi                @remi-safe
php73-php-cli.x86_64                 7.3.19-1.el7.remi                @remi-safe
php73-php-common.x86_64              7.3.19-1.el7.remi                @remi-safe
php73-php-fpm.x86_64                 7.3.19-1.el7.remi                @remi-safe
php73-php-gd.x86_64                  7.3.19-1.el7.remi                @remi-safe
php73-php-json.x86_64                7.3.19-1.el7.remi                @remi-safe
php73-php-mbstring.x86_64            7.3.19-1.el7.remi                @remi-safe
php73-php-mysqlnd.x86_64             7.3.19-1.el7.remi                @remi-safe
php73-php-opcache.x86_64             7.3.19-1.el7.remi                @remi-safe
php73-php-pdo.x86_64                 7.3.19-1.el7.remi                @remi-safe
php73-php-pear.noarch                1:1.10.12-1.el7.remi             @remi-safe
php73-php-pecl-json-post.x86_64      1.0.2-1.el7.remi                 @remi-safe
php73-php-process.x86_64             7.3.19-1.el7.remi                @remi-safe
php73-php-xml.x86_64                 7.3.19-1.el7.remi                @remi-safe
php73-runtime.x86_64                 2.0-1.el7.remi                   @remi-safe

I would like to install phpMyAdmin using this version, but I just found the way to install it along with

* php 5.6 from base -->

$ sudo yum --enablerepo=remi-safe install phpMyAdmin

* php 7.3 from remi-php73 -->

$ sudo yum --enablerepo=remi-php73 install phpMyAdmin

So is there any way to install phpMyAdmin using my remi-safe packages?

Thanks in advance!

Edit: should I install using "--enablerepo=remi-php73" instead of "--enablerepo=remi-safe" in the future?

Re: PhpMyAdmin install: remi-safe vs remi-php73 dependencies

sorry, no

packaged app, e.g. phpMyAdmin use the default php (base packages)

See the wizard instructions for proper configuration

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 32 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: PhpMyAdmin install: remi-safe vs remi-php73 dependencies

Notice : phpMyAdmin  is in "remi" (it replaces old version from EPEL and is compatible with recent PHP versions)

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 32 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: PhpMyAdmin install: remi-safe vs remi-php73 dependencies

Remi wrote:

Notice : phpMyAdmin  is in "remi" (it replaces old version from EPEL and is compatible with recent PHP versions)

Ok, thanks for answering, so could I install phpMyAdmin 5.0.2-2.el7 from "remi" and make it work with my php 7.3 from "remi-safe" packages?

Re: PhpMyAdmin install: remi-safe vs remi-php73 dependencies

> I install phpMyAdmin 5.0.2-2.el7 from "remi"

As I said previously, can only be installed with php-* packages (so from remi-php7#)

> and make it work with my php 7.3 from "remi-safe" packages?

Once installed, yes it can work with alternative version is
all dependencies (version and extensions) are ok



In short
- if you want to use packaged app, install PHP single/default version from "remi-php##"
- if you want multiple versions, use the software collections (php##-php-* packages)

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 32 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: PhpMyAdmin install: remi-safe vs remi-php73 dependencies

Got it!
thank you, Remi