私はPHP7をインストールしましたが、私はphp-xmlをインストールしたいと思いますが、私のシステムにはまだPHP 5.4の矛盾があります。私は取り除くことができません。ここでphp-xml for PHP7(CentOS)をインストールできない
は、私は、 "yumのPHP-XMLのインストール" を実行しようとすると、それは次のようになります。
$ sudo yum install php-xml Loaded plugins: fastestmirror, langpacks, replace Loading mirror speeds from cached hostfile * base: mirror.fileplanet.com * epel: mirror.sjc02.svwh.net * extras: mirror.fileplanet.com * ius: mirrors.kernel.org * remi-safe: mirrors.mediatemple.net * rpmfusion-free-updates: mirror.math.princeton.edu * rpmfusion-nonfree-updates: mirror.math.princeton.edu * updates: mirror.fileplanet.com * webtatic: us-east.repo.webtatic.com Resolving Dependencies --> Running transaction check ---> Package php-xml.x86_64 0:5.4.16-42.el7 will be installed --> Processing Dependency: php-common(x86-64) = 5.4.16-42.el7 for package: php-xml-5.4.16-42.el7.x86_64 --> Running transaction check ---> Package php-common.x86_64 0:5.4.16-42.el7 will be installed --> Processing Conflict: php70w-common-7.0.19-1.w7.x86_64 conflicts php-common Finished Dependency Resolution Error: php70w-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
私もPHP-共通を削除しようとしましたそして私はちょうど得る:
$ sudo yum remove php-common-5.4.16-42.el7.x86_64 Loaded plugins: fastestmirror, langpacks, replace No Match for argument: php-common-5.4.16-42.el7.x86_64 No Packages marked for removal
したがって、php-common-5.4.16-42.el7.x86_64と競合しますが、php-common-5.4.16-42.el7.x86_64は存在しません。
ご協力いただきまして誠にありがとうございます。
また、私はそれが
<code>
Package php-xml.x86_64 0:5.4.16-42.el7 will be installed
</code>
を言う気づいしかし、私は、PHP 5.4のためにそれをしたくない、私はPHP7のためにそれをしたいです。
try 'install php70w-xml' – castis
こんにちはキャスティス、それは働いた。本当にありがとう。 –
緑のチェックマークが表示されるように、これを完了したものとしてマークするにはどうすればよいですか? –