I have installed php72 from remi repo according to this How to Install PHP 7 in CentOS 7
. I also need the following plugins/modules for php72, but some are not available and yum will fetch php5. I am concerned about version mismatches and the mess in the package installation.
zip:
php-zipstream.noarch 0.2.2-6.el7 epel
dom:
No match in yum
php72 modules for centos
Re: php72 modules for centos
See the Wizard, https://rpms.remirepo.net/wizard/
Notice: php-zipstream is a pure PHP library, very different from the zip extension.
P.S. for all extension , php-xxx will work, whatever is the package name (php-xml and php-pecl-zip in above example)
Code: Select all
yum install php-dom php-zip
P.S. for all extension , php-xxx will work, whatever is the package name (php-xml and php-pecl-zip in above example)
Re: php72 modules for centos
However, I installed php72-php-pecl-zip.x86_64 and php72-php-xml.x86_64 and they did the job.
Another question is about phpmyadmin. When I run yum install phpmyadmin, it wants to download some php5 packages.
And it seems that there is no phpmyadmin for php72. Is that really important?
Any idea?
Another question is about phpmyadmin. When I run yum install phpmyadmin, it wants to download some php5 packages.
Code: Select all
====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
phpMyAdmin noarch 4.4.15.10-3.el7 epel 4.7 M
Installing for dependencies:
compat-libtidy x86_64 0.99.0-37.20091203.el7 epel 133 k
libzip x86_64 0.10.1-8.el7 base 48 k
php-bcmath x86_64 5.4.16-45.el7 base 58 k
php-cli x86_64 5.4.16-45.el7 base 2.7 M
php-common x86_64 5.4.16-45.el7 base 565 k
php-fedora-autoloader noarch 1.0.0-1.el7 epel 9.6 k
php-gd x86_64 5.4.16-45.el7 base 128 k
php-mbstring x86_64 5.4.16-45.el7 base 505 k
php-mysql x86_64 5.4.16-45.el7 base 101 k
php-pdo x86_64 5.4.16-45.el7 base 99 k
php-php-gettext noarch 1.0.12-1.el7 epel 23 k
php-process x86_64 5.4.16-45.el7 base 56 k
php-tcpdf noarch 6.2.13-1.el7 epel 2.1 M
php-tcpdf-dejavu-sans-fonts noarch 6.2.13-1.el7 epel 257 k
php-tidy x86_64 5.4.16-7.el7 epel 23 k
php-xml x86_64 5.4.16-45.el7 base 126 k
t1lib x86_64 5.1.2-14.el7 base 166 k
And it seems that there is no phpmyadmin for php72. Is that really important?
Code: Select all
Available Packages
php-phpmyadmin-motranslator.noarch 3.4-1.el7 epel
php-phpmyadmin-shapefile.noarch 2.0-1.el7 epel
php-phpmyadmin-sql-parser.noarch 4.2.4-1.el7 epel
phpMyAdmin.noarch 4.4.15.10-3.el7 epel
Re: php72 modules for centos
phpMyAdmin (4.0) in "EPEL" is design to work with PHP 5.4 in base repository and probably won't work with recent PHP version
phpMyAdmin (4.8) in "remi" repository will work with recent versions (at least 5.6), but rely on dependencies in base repository (not on SCL)
So you probably have to install PHP 7.2 as single / default version (see the Wizard)
phpMyAdmin (4.8) in "remi" repository will work with recent versions (at least 5.6), but rely on dependencies in base repository (not on SCL)
So you probably have to install PHP 7.2 as single / default version (see the Wizard)