简体   繁体   English

Centos我的应用程序不能与php5.4一起使用,但是5.3现在我想安装5.3但不能

[英]Centos my application is not working with php5.4 but 5.3 now i want to install 5.3 but can not

Here i have centos 5.5 i have php5.4 which is not compitable with my application so i did. 在这里我有centos 5.5我有php5.4与我的应用程序不兼容,所以我做到了。

yum remove php php-*

now back if i want to reinstall php5.3 when i do the 现在回来,如果我想在安装时重新安装php5.3

yum search php53 | cut -d' ' -f1 | grep php

it list me the php5.3 but when i want install it by: 它列出了我的php5.3,但是当我想通过以下方式安装它时:

yum install php53

it updates me and asks me to install php54 which i don't want any hint or quid will be your kindness here i need to install php5.3 on centos5.5 thanks in advance 它更新了我,并要求我安装php54,我不希望任何提示或quid将是您的好意,我需要在centos5.5上安装php5.3,在此先感谢

Try to update yum 尝试更新yum

yum remove php php-*

Then remove php 然后删除php

yum remove php php-*

Also httpd 也httpd

yum remove httpd 

Reinstall httpd 重新安装httpd

yum install httpd

reinstall all php packages required 重新安装所有需要的PHP软件包

yum install php53u-pear php53u php53u-cli php53u-common php53u-devel php53u-gd php53u-mbstring php53u-mcrypt php53u-mysql php53u-pdo php53u-soap php53u-xml php53u-xmlrpc php53u-bcmath php53u-pecl-apc php53u-pecl-memcache php53u-snmp

finally fix APC 终于修复了APC

yum remove php53u-pecl-apc
yum update php53u-pecl-apc --enablerepo=ius-testing

:) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM