私は、このコマンドを使用してPHP 7.0.14でPHPパッケージmbstring
をインストールしようとした:mbstringをPHP 7.0.14にインストールするには?
yum install php70w-mbstring php70w-json php70w-gd php70w-mcrypt
私は、通知を得る:
は4つのパッケージ(+2依存パッケージ)
Total size: 2.0 M
Installed size: 13 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
をインストールし、遠いエラーの競合:
Transaction check error: file /etc/php.ini from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php-zts/modules/bz2.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php/modules/bz2.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php-zts/modules/calendar.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php/modules/calendar.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php-zts/modules/ctype.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php/modules/ctype.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php-zts/modules/curl.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php/modules/curl.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php-zts/modules/exif.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php/modules/exif.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php-zts/modules/fileinfo.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php/modules/fileinfo.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php-zts/modules/ftp.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file /usr/lib64/php/modules/ftp.so from install of php70w-common-7.0.14-1.w7.x86_64 conflicts with file from package php70u-common-7.0.14-1.ius.centos7.x86_64 file .... ...
Error Summary
私は使用しますSorry, I use CentOS Linux release 7.3.1611
どのように私はこれを修正し、mbstringをインストールできますか?
私はPHPのverisonの下で利用可能なすべてのパッケージを表示するには、コマンドyum list php7*
を使用:
Available Packages Name : php70-php-mbstring Arch : x86_64 Version : 7.0.14 Release : 1.el7.remi Size : 524 k Repo : remi-safe Summary : A module for PHP applications which need multi-byte string handling URL : http://www.php.net/ License : PHP and LGPLv2 and BSD and OpenLDAP Description : The php70-php-mbstring package contains a dynamic shared object that will add : support for multi-byte string handling to PHP.
私がやった後:
yum install php70-php-mbstring
とget:
Installing:
php70-php-mbstring x86_64 7.0.14-1.el7.remi remi-safe 524 k
重要な発言を:
Error: php70u-common conflicts with php-common-5.4.16-42.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest