我设法在CentOS 5.4中将php从5.2.10 升级到5.3.8。 一些扩展在这个过程中丢失了(mbstring,mysql)。 一个快速运行: yum list installed | grep php 返回: php.x86_64 PHP-cli.x86_64 PHP-common.x86_64 PHP-pear.noarch PHP的PECL-igbinary.x86_64 PHP的PECL-memcached.x86_64 当我尝试安装新的扩展程序时: yum install php-mbstring 我得到这个错误消息: 交易总结================================================ ================================安装3套件升级0套餐(s) 总大小:3.6 M这是好的[是/否]:y正在下载软件包:正在运行rpm_check_debug运行事务testing已完成事务testing 事务检查错误:包php-common-5.3.8-5.el5.remi.1.x86_64(比php-common-5.2.10-1.el5.centos.i386更新)已经安装了文件/ etc /从php-common-5.2.10-1.el5.centos.i386安装php.ini与包php-common-5.3.8-5.el5.remi.1.x86_64中的文件冲突 yum安装php-mysql几乎是一样的 我如何摆脱这些旧版本?
我刚刚把我的PHP安装从5.3.9分级到5.3.3。 这是为了能够使用yum / EPEL而不是自己编译所有的东西。 显然,mysqlnd-support在5.3.3中是不可用的,因为我不想再自己编译源代码了,所以我不能在这个阶段添加它。 我想用yum / EPEL,但似乎没有可用的mysqlnd包。 任何build议如何做到这一点(除了重新编程应用程序)?
我试图通过运行以下命令从我的VPS卸载plesk: yum remove sw-* psa-* plesk-* 当我运行这个命令,我得到以下错误: Running rpm_check_debug Running Transaction Test memory alloc (4 bytes) returned NULL. 第一次当我运行上面的命令时,这个mem分配(4字节)是非常大的数字,如(67864987)。 然后我谷歌search,得到一些清除/ ulimit命令。 执行了他们。 重新启动我的系统。 停止所有进程并再次执行这个命令,但仍然得到4字节的问题。 不知道如何摆脱它。 重启后我也尝试ulimit,但没有成功,是的。 没有交换附加。 这些是我系统的统计数据: [root@vps ~]# free -m total used free shared buffers cached Mem: 384 67 316 0 0 0 -/+ buffers/cache: 67 316 Swap: 0 0 0 top – […]
我正尝试在Centos 6.3上安装php-imap支持 yum install php-imap 由于回购安装失败有不同的PHP版本: Resolving Dependencies –> Running transaction check —> Package php-imap.x86_64 0:5.3.3-14.el6_3 will be installed –> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-imap-5.3.3-14.el6_3.x86_64 –> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.3.3-14.el6_3.x86_64 –> Running transaction check —> Package libc-client.x86_64 0:2007e-11.el6 will be installed —> Package php-imap.x86_64 0:5.3.3-14.el6_3 will be installed –> Processing […]
当我尝试yum install phpmyadmin然后我得到这个错误 Error: Package: php-gd-5.3.3-22.el6.x86_64 (base) Requires: php-common(x86-64) = 5.3.3-22.el6 Installed: php-common-5.5.0-1.el6.remi.x86_64 (@remi-test) php-common(x86-64) = 5.5.0-1.el6.remi Available: php-common-5.3.3-22.el6.x86_64 (base) php-common(x86-64) = 5.3.3-22.el6 You could try using –skip-broken to work around the problem ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: yum-3.2.29-40.el6.centos.noarch has missing requires of yum-plugin-fastestmirror 我需要做什么来解决这个错误 更新: 然后我得到这个 Repository epel is […]
我需要安装一个具有4个依赖项(从.spec文件输出)的应用程序: Requires: PA-KBU-KBUONE-SHARED Requires: PA-KBU-KBUONE-PLI-CONF Requires: PA-KBU-KBUONE-PLA-CONF Requires: PA-KBU-KBUONE-PLA-BIN 这4个依赖关系必须按照这个顺序安装(第一个SHARED,第二个PLI-CONF等),但是当我做yum安装应用程序时,yum会在该列表上进行sorting: Installing: app noarch 10.0.0-1 localrepo 1.4 k Installing for dependencies: PA-KBU-KBUONE-PLA-BIN noarch 10.0.0-1 localrepo 20 M PA-KBU-KBUONE-PLA-CONF noarch 10.0.0-1 localrepo 2.5 M PA-KBU-KBUONE-PLI-CONF noarch 10.0.0-1 localrepo 10 k PA-KBU-KBUONE-SHARED noarch 10.0.0-1 localrepo 7.1 k 有没有办法控制yum安装依赖关系的顺序?
我尝试用yum安装PHP,并且收到如下消息: bash-3.2# yum install php 加载的插件:fastermirror从caching的hostfile加载镜像速度* epel:mirrors.tummy.com * updates:mirror.anl.gov * base:www.cyberuse.com * addons:mirror.raystedman.net * extras:www.cyberuse.com设置安装进程parsing包安装参数解决依赖关系 – >运行事务检查—>包php.x86_64 0:5.1.6-23.2.el5_3设置为更新 – >处理相关性:php-cli = 5.1.6 PHP的 – >处理相关性:httpd-mmn = 20051115为包:PHP的 – >处理相关性:PHP的普通= 5.1.6-23.2.el5_3为包:PHP的 – >处理相关性:-23.2.el5_3包:文件> = 4.0 for package:php – >处理相关性:libaspell.so.15()(64bit)for package:php – >处理依赖:libgmp.so.3()(64bit) >处理依赖:libcurl.so.3()(64bit)for package:php – >处理依赖:libpspell.so.15()(64bit)for package:php – >处理依赖:libidn.so.11 )(64位)的包:PHP的 – >运行tra nsaction check —>软件包php-cli.x86_64 0:5.1.6-23.2.el5_3设置更新—>软件包httpd.x86_64 […]
我想看看我通过yum在CentOS上安装的deamons源文件。 他们可以在当地find,或者我应该去他们的仓库网站。 我知道它微不足道,但我想看看我正在使用的确切来源。 提前致谢。
我需要将PHP升级到5.2.x 我在这里指的是如何升级它: http://wiki.centos.org/HowTos/PHP_5.1_To_5.2 http://www.securityhacking.tk/2010/02/install-upgrade-php-5-1-to-5-2-centos-5-4/ 但那是testing版本库。 在服务器上使用它是否安全? 谢谢。
我尝试使用yum更新来更新我的EC2实例上的操作系统,但出现以下错误: Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * epel: serverbeach1.fedoraproject.org Skipping security plugin, no data Setting up Update Process Resolving Dependencies Skipping security plugin, no data –> Running transaction check —> Package cloud-init.noarch 0:0.5.14-13.amzn1 set to be updated —> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-44.1.9.1.16.amzn1 set to be updated —> Package python-markdown.noarch 0:2.0.3-1.el5 set […]