我正在尝试在 CentOS 6 上安装 php-posix,但没有成功:
$ yum install php-posix
Run Code Online (Sandbox Code Playgroud)
得到以下错误:
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.nluug.nl
* epel: nl.mirror.eurid.eu
* extras: ftp.nluug.nl
* updates: ftp.nluug.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-process.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-process-5.3.3-27.el6_5.x86_64
--> Finished Dependency Resolution
Error: Package: php-process-5.3.3-27.el6_5.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-27.el6_5
Installed: php-common-5.4.30-1.el6.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.30-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-common(x86-64) = 5.3.3-27.el6_5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Run Code Online (Sandbox Code Playgroud)
看起来我需要降级php-common?
这真的有必要吗,我该怎么做?
您已经从 remi 存储库安装了 PHP。
现在您还需要从这个存储库中安装其他软件包,如下所示:
yum install php-posix --enablerepo=remi
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
15978 次 |
| 最近记录: |