I run CentOS 6.2 (upgraded to 6.3) on a Virtual private server (Linode)
Full details of my server (via getinfo.sh) is here: http://pastebin.com/abRCN5sG
I am trying to install the CentOS php package
(..as I have been having issues getting PHP to work correctly on our server. See forum posts in which I have been trying to seek help in solving the issue:
http://forum.linode.com/viewtopic.php?f ... 360#p53360
and
http://www.linuxquestions.org/questions ... ost4761047
I was advised from here to get help from the CentOS forums..so I am new here )
. I have removed the previously installed PHP package but I am now having difficulty installing PHP.
See the screen output below:
- Code: Select all
[root@myserver]# yum erase php
Loaded plugins: fastestmirror, security Setting up Remove Process
No Match for argument: php
Loading mirror speeds from cached hostfile
* base: mirrors.coreix.net
* epel: mirror01.th.ifl.net
* extras: mirrors.coreix.net
* updates: mirrors.coreix.net Package(s) php available, but not installed.
No Packages marked for removal
When I try to install with Yum, I get:
- Code: Select all
[root@myserver1]# yum install php
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.for.me.uk
* epel: mirror01.th.ifl.net
* extras: mirror.for.me.uk
* updates: mirror.for.me.uk
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i686 0:5.3.3-14.el6_3 will be installed
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-5.3.3-14.el6_3.i686
--> Processing Dependency: php-cli = 5.3.3-14.el6_3 for package: php-5.3.3-14.el6_3.i686
--> Finished Dependency Resolution
Error: Package: php-5.3.3-14.el6_3.i686 (updates)
Requires: php-common = 5.3.3-14.el6_3
Installed: php-common-5.4.6-1.el6.remi.i686 (@remi-test)
php-common = 5.4.6-1.el6.remi
Available: php-common-5.3.3-3.el6_2.8.i686 (base)
php-common = 5.3.3-3.el6_2.8
Available: php-common-5.3.3-14.el6_3.i686 (updates)
php-common = 5.3.3-14.el6_3
Error: Package: php-5.3.3-14.el6_3.i686 (updates)
Requires: php-cli = 5.3.3-14.el6_3
Installed: php-cli-5.4.6-1.el6.remi.i686 (@remi-test)
php-cli = 5.4.6-1.el6.remi
Available: php-cli-5.3.3-3.el6_2.8.i686 (base)
php-cli = 5.3.3-3.el6_2.8
Available: php-cli-5.3.3-14.el6_3.i686 (updates)
php-cli = 5.3.3-14.el6_3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@myserver1]#
When I try to use -skip-broken as suggested, I get:
- Code: Select all
[root@myserver1]# yum --skip-broken install php
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.vooservers.com
* epel: mirror01.th.ifl.net
* extras: mirrors.vooservers.com
* updates: mirrors.vooservers.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php.i686 0:5.3.3-14.el6_3 will be installed
--> Processing Dependency: php-common = 5.3.3-14.el6_3 for package: php-5.3.3-14.el6_3.i686
--> Processing Dependency: php-cli = 5.3.3-14.el6_3 for package: php-5.3.3-14.el6_3.i686
--> Finished Dependency Resolution
Packages skipped because of dependency problems:
php-5.3.3-14.el6_3.i686 from updates
[root@myserver1]#
It would be pertinent to mention that I had enabled remi repository before now and I updated PHP.
I have even tried to re-enable the Remi repository to be able to get PHP reinstalled. but I have not had much success.
I would appreciate any help I can get.
Thanks in advance.
