Topic: Centos 7 how to Install phpmyadmin with php 7.4

Hello,

if I install the normal phpMyadmin version 4.4.15.10 but it generates tons of warning like this:

Deprecation Notice in ./libraries/Util.class.php#1994
Array and string offset access syntax with curly braces is deprecated

Backtrace

./libraries/common.inc.php#138: include_once()
./index.php#12: require_once(./libraries/common.inc.php)

Is there a way to install phpMyAdmin V 5 on centos 7 with php 7.4 remi repo ?

Hera are my php7.4 rpm already on this server.

php74-php-pecl-mysql-1.0.0-0.23.20190415.d7643af.el7.remi.x86_64
php74-php-mysqlnd-7.4.13-1.el7.remi.x86_64
php74-php-gd-7.4.13-1.el7.remi.x86_64
php74-php-pecl-apcu-5.1.19-1.el7.remi.x86_64
php74-php-pecl-zip-1.19.1-1.el7.remi.x86_64
php74-php-pdo-7.4.13-1.el7.remi.x86_64
php74-php-fpm-7.4.13-1.el7.remi.x86_64
php74-php-soap-7.4.13-1.el7.remi.x86_64
php74-php-cli-7.4.13-1.el7.remi.x86_64
php74-php-pecl-mcrypt-1.0.3-1.el7.remi.x86_64
php74-php-common-7.4.13-1.el7.remi.x86_64
php74-php-mbstring-7.4.13-1.el7.remi.x86_64
php74-php-intl-7.4.13-1.el7.remi.x86_64
php74-php-bcmath-7.4.13-1.el7.remi.x86_64
php74-runtime-1.0-3.el7.remi.x86_64
php74-1.0-3.el7.remi.x86_64
php74-php-json-7.4.13-1.el7.remi.x86_64
php74-php-sodium-7.4.13-1.el7.remi.x86_64
php74-php-pecl-imagick-3.4.4-10.el7.remi.x86_64
php74-php-xml-7.4.13-1.el7.remi.x86_64
php74-php-process-7.4.13-1.el7.remi.x86_64

Here is what I tried

[root@ldsgtr101.ce] phpMyadmin $ yum --enablerepo=remi,remi-test  install phpMyAdmin
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
 * base: ...
 * epel: ...
 * extras: ...
 * remi: ...
 * remi-safe: ...
 * remi-test: ...
 * updates: ...
remi-test                                                                                                                        | 3.0 kB  00:00:00
remi-test/primary_db                                                                                                             | 727 kB  00:00:00
Excluding 9 updates due to versionlock (use "yum versionlock status" to show them)
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:5.0.4-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1.3 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-google-recaptcha >= 1.1 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-phpmyadmin-motranslator >= 4.0 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-phpmyadmin-shapefile >= 2.0 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-phpseclib >= 2.0.9 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-pragmarx-google2fa-qrcode >= 1.0.1 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-samyoul-u2f-php-server >= 1.1 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-symfony-polyfill >= 1.8.0 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-symfony4-config >= 4.1 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-symfony4-dependency-injection >= 4.1 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-symfony4-expression-language >= 4.1 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-symfony4-yaml >= 4.1 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-tcpdf >= 6.3 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-tcpdf-dejavu-sans-fonts >= 6.2 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-twig2 >= 2.9 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-williamdes-mariadb-mysql-kbs >= 1.2 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-bz2 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-composer(fedora/autoloader) for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-ctype for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-curl for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-date for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-filter for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-gd for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-hash for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-iconv for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-json for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-libxml for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-mbstring for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-mysqli for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-openssl for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-pcre for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-phpmyadmin-sql-parser5 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-phpmyadmin-twig-i18n-extension for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-session for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-simplexml for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-spl for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-xml for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-xmlwriter for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Processing Dependency: php-zlib for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Running transaction check
---> Package php-common.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-fedora-autoloader.noarch 0:1.0.1-2.el7.remi will be installed
---> Package php-gd.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-google-recaptcha.noarch 0:1.2.4-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 5.5 for package: php-google-recaptcha-1.2.4-1.el7.remi.noarch
---> Package php-mbstring.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-mysql.x86_64 0:5.4.45-18.el7.remi will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.4.45-18.el7.remi for package: php-mysql-5.4.45-18.el7.remi.x86_64
---> Package php-phpmyadmin-motranslator.noarch 0:4.0-1.el7.remi will be installed
--> Processing Dependency: php-composer(symfony/expression-language) < 4 for package: php-phpmyadmin-motranslator-4.0-1.el7.remi.noarch
---> Package php-phpmyadmin-shapefile.noarch 0:2.1-1.el7.remi will be installed
---> Package php-phpmyadmin-sql-parser5.noarch 0:5.4.1-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-phpmyadmin-sql-parser5-5.4.1-1.el7.remi.noarch
--> Processing Dependency: php-cli for package: php-phpmyadmin-sql-parser5-5.4.1-1.el7.remi.noarch
---> Package php-phpmyadmin-twig-i18n-extension.noarch 0:3.0.0-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-phpmyadmin-twig-i18n-extension-3.0.0-1.el7.remi.noarch
---> Package php-phpseclib.noarch 0:2.0.29-1.el7.remi will be installed
--> Processing Dependency: php-bcmath for package: php-phpseclib-2.0.29-1.el7.remi.noarch
---> Package php-pragmarx-google2fa-qrcode.noarch 0:1.0.3-1.el7.remi will be installed
--> Processing Dependency: php-bacon-qr-code for package: php-pragmarx-google2fa-qrcode-1.0.3-1.el7.remi.noarch
--> Processing Dependency: php-pragmarx-google2fa5 for package: php-pragmarx-google2fa-qrcode-1.0.3-1.el7.remi.noarch
---> Package php-samyoul-u2f-php-server.noarch 0:1.1.4-1.el7.remi will be installed
---> Package php-symfony-polyfill.noarch 0:1.20.0-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-symfony-polyfill-1.20.0-1.el7.remi.noarch
--> Processing Dependency: php-intl for package: php-symfony-polyfill-1.20.0-1.el7.remi.noarch
---> Package php-symfony4-config.noarch 0:4.1.13-1.el7.remi will be installed
--> Processing Dependency: php-composer(symfony/filesystem) = 4.1.13 for package: php-symfony4-config-4.1.13-1.el7.remi.noarch
---> Package php-symfony4-dependency-injection.noarch 0:4.1.13-1.el7.remi will be installed
--> Processing Dependency: php-symfony4-common = 4.1.13-1.el7.remi for package: php-symfony4-dependency-injection-4.1.13-1.el7.remi.noarch
--> Processing Dependency: php-composer(psr/container) < 2.0 for package: php-symfony4-dependency-injection-4.1.13-1.el7.remi.noarch
--> Processing Dependency: php-composer(psr/container) >= 1.0 for package: php-symfony4-dependency-injection-4.1.13-1.el7.remi.noarch
---> Package php-symfony4-expression-language.noarch 0:4.1.13-1.el7.remi will be installed
--> Processing Dependency: php-composer(symfony/cache) = 4.1.13 for package: php-symfony4-expression-language-4.1.13-1.el7.remi.noarch
---> Package php-symfony4-yaml.noarch 0:4.1.13-1.el7.remi will be installed
---> Package php-tcpdf.noarch 0:6.3.5-1.el7.remi will be installed
--> Processing Dependency: php-posix for package: php-tcpdf-6.3.5-1.el7.remi.noarch
--> Processing Dependency: php-tidy for package: php-tcpdf-6.3.5-1.el7.remi.noarch
---> Package php-tcpdf-dejavu-sans-fonts.noarch 0:6.3.5-1.el7.remi will be installed
---> Package php-twig2.noarch 0:2.14.1-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.2.5 for package: php-twig2-2.14.1-1.el7.remi.noarch
---> Package php-williamdes-mariadb-mysql-kbs.noarch 0:1.2.11-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-williamdes-mariadb-mysql-kbs-1.2.11-1.el7.remi.noarch
---> Package php-xml.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package phpMyAdmin.noarch 0:5.0.4-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1.3 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Running transaction check
---> Package php-bacon-qr-code.noarch 0:1.0.3-1.el7.remi will be installed
---> Package php-bcmath.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-cli.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-google-recaptcha.noarch 0:1.2.4-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 5.5 for package: php-google-recaptcha-1.2.4-1.el7.remi.noarch
---> Package php-intl.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-pdo.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-phpmyadmin-sql-parser5.noarch 0:5.4.1-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-phpmyadmin-sql-parser5-5.4.1-1.el7.remi.noarch
---> Package php-phpmyadmin-twig-i18n-extension.noarch 0:3.0.0-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-phpmyadmin-twig-i18n-extension-3.0.0-1.el7.remi.noarch
---> Package php-pragmarx-google2fa5.noarch 0:5.0.0-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 5.6 for package: php-pragmarx-google2fa5-5.0.0-1.el7.remi.noarch
--> Processing Dependency: php-paragonie-constant-time-encoding for package: php-pragmarx-google2fa5-5.0.0-1.el7.remi.noarch
--> Processing Dependency: php-paragonie-random-compat for package: php-pragmarx-google2fa5-5.0.0-1.el7.remi.noarch
---> Package php-process.x86_64 0:5.4.45-18.el7.remi will be installed
---> Package php-psr-container.noarch 0:1.0.0-1.el7.remi will be installed
---> Package php-symfony-polyfill.noarch 0:1.20.0-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-symfony-polyfill-1.20.0-1.el7.remi.noarch
---> Package php-symfony3-expression-language.noarch 0:3.4.47-1.el7.remi will be installed
--> Processing Dependency: php-composer(symfony/cache) = 3.4.47 for package: php-symfony3-expression-language-3.4.47-1.el7.remi.noarch
---> Package php-symfony4-cache.noarch 0:4.1.13-1.el7.remi will be installed
--> Processing Dependency: php-composer(psr/cache) < 2.0 for package: php-symfony4-cache-4.1.13-1.el7.remi.noarch
--> Processing Dependency: php-composer(psr/log) < 2.0 for package: php-symfony4-cache-4.1.13-1.el7.remi.noarch
--> Processing Dependency: php-composer(psr/simple-cache) < 2.0 for package: php-symfony4-cache-4.1.13-1.el7.remi.noarch
--> Processing Dependency: php-composer(psr/cache) >= 1.0 for package: php-symfony4-cache-4.1.13-1.el7.remi.noarch
--> Processing Dependency: php-composer(psr/log) >= 1.0 for package: php-symfony4-cache-4.1.13-1.el7.remi.noarch
--> Processing Dependency: php-composer(psr/simple-cache) >= 1.0 for package: php-symfony4-cache-4.1.13-1.el7.remi.noarch
---> Package php-symfony4-common.noarch 0:4.1.13-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1.3 for package: php-symfony4-common-4.1.13-1.el7.remi.noarch
--> Processing Dependency: composer for package: php-symfony4-common-4.1.13-1.el7.remi.noarch
---> Package php-symfony4-filesystem.noarch 0:4.1.13-1.el7.remi will be installed
---> Package php-tidy.x86_64 0:5.4.45-18.el7.remi will be installed
--> Processing Dependency: libtidy.so.5()(64bit) for package: php-tidy-5.4.45-18.el7.remi.x86_64
---> Package php-twig2.noarch 0:2.14.1-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.2.5 for package: php-twig2-2.14.1-1.el7.remi.noarch
---> Package php-williamdes-mariadb-mysql-kbs.noarch 0:1.2.11-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1 for package: php-williamdes-mariadb-mysql-kbs-1.2.11-1.el7.remi.noarch
---> Package phpMyAdmin.noarch 0:5.0.4-1.el7.remi will be installed
--> Processing Dependency: php(language) >= 7.1.3 for package: phpMyAdmin-5.0.4-1.el7.remi.noarch
--> Running transaction check
---> Package composer.noarch 0:2.0.7-1.el7.remi will be installed
--> Processing Dependency: php-composer-spdx-licenses >= 1.2 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-composer-xdebug-handler >= 1.1 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-jsonlint >= 1.4 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-justinrainbow-json-schema5 >= 5.2.10 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-react-promise >= 2.7 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-seld-phar-utils >= 1.1 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-symfony-console >= 2.8 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-symfony-filesystem >= 2.8 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-symfony-finder >= 2.8 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-symfony-process >= 2.8 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-composer-ca-bundle for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-composer-semver3 for package: composer-2.0.7-1.el7.remi.noarch
--> Processing Dependency: php-seld-phar-utils for package: composer-2.0.7-1.el7.remi.noarch
-...


Error: Package: phpMyAdmin-5.0.4-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.1.3
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-phpmyadmin-twig-i18n-extension-3.0.0-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.1
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-twig2-2.14.1-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.2.5
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-williamdes-mariadb-mysql-kbs-1.2.11-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.1
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-phpmyadmin-sql-parser5-5.4.1-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.1
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: phpMyAdmin-5.0.4-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.1.3
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Available: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-symfony4-common-4.1.13-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.1.3
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-symfony-common-2.8.52-5.el7.remi.noarch (remi)
           Requires: php(language) >= 7.0
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-google-recaptcha-1.2.4-1.el7.remi.noarch (remi)
           Requires: php(language) >= 5.5
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-symfony-polyfill-1.20.0-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.1
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-pragmarx-google2fa5-5.0.0-1.el7.remi.noarch (remi)
           Requires: php(language) >= 5.6
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
Error: Package: php-symfony3-common-3.4.47-1.el7.remi.noarch (remi)
           Requires: php(language) >= 7.0.8
           Available: php-common-5.4.16-48.el7.x86_64 (base)
               php(language) = 5.4.16
           Installing: php-common-5.4.45-18.el7.remi.x86_64 (remi)
               php(language) = 5.4.45
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Any help would be appreciated.

Merci !

Re: Centos 7 how to Install phpmyadmin with php 7.4

Packaged application use defaut PHP version

So you have to use PHP 7.4 installed as single/default version,
as explained by the wizard https://rpms.remirepo.net/wizard/

Also read the FAQ https://blog.remirepo.net/pages/English-FAQ#scl

You use the php74-* packages (SCL), do you really need multiple versions ?

If yes, you still need to install PHP >= 7.1 as default version (php-*) and older versions
as SCL (e.g. php56-*) for legacy applications.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Centos 7 how to Install phpmyadmin with php 7.4

Hello thanks for this precision,

Since I only need one version of php on my C7 server I choose php74 and doing this should make sure that all php rpm should only point to php74 ?

Command to enable the repository:
    yum-config-manager --disable 'remi-php*'
    yum-config-manager --enable   remi-php74

Will that replace the system php 5.x to 7.4 everywhere ? This is a minimaal

From there I should be able to install phpMyadmin v 5.x ? which wont have all the warning with deprecated version of this and that everywhere ?

Cause right now I had to put error_reporting in php.ini to not show these warning which is what I'm trying to avoid

Best

Re: Centos 7 how to Install phpmyadmin with php 7.4

> Will that replace the system php 5.x to 7.4 everywhere ?

Yes

> From there I should be able to install phpMyadmin v 5.x ?

Yes

> which wont have all the warning with deprecated version of this and that everywhere ?

Yes.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Centos 7 how to Install phpmyadmin with php 7.4

Notice, you can also remove all the php74-php-* packages

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

6 (edited by bougui 2020-12-04 22:07:49)

Re: Centos 7 how to Install phpmyadmin with php 7.4

Bonjour Remi,

thanks for these explanations.

All I need on my Centos 7 minimal server is php-7.4 and phpMyAdmin with now errors messages is that possible via rpm only ?

So this is what I did and what seem to be a good setup please confirm.

    yum-config-manager --disable 'remi-php*'
    yum-config-manager --enable   remi-php74

    yum --enablerepo=remi install phpMyAdmin


    systemctl restart php-fpm.service httpd.service

And I dont see those errors anymore.

Note: I have remove all php74-php* rpm.

Thanks again for providing these RPM.

Best, Guillaume

Re: Centos 7 how to Install phpmyadmin with php 7.4

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi