frank-f
Goto Top

PHP Installation unter CentOS 6

Guten Tag allerseits,
ich hoffe einer kann mir helfen.

Ich versuche auf meinem V-Server mit CentOS 6 PHP zu installieren. APACHE ist schon vorinstalliert.

ich habe es einfachhaltshalber probiert mit yum install php

Folgende Ausgabe erscheint dann nun bei mir in Putty:

 
[root@s18073093 ~]# yum install php
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: mirror.de.leaseweb.net
 * rpmforge: mirror.de.leaseweb.net
 * webtatic: uk.repo.webtatic.com
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
mysql-connectors-community                               | 2.5 kB     00:00
mysql-tools-community                                    | 2.5 kB     00:00
mysql56-community                                        | 2.5 kB     00:00
rpmforge                                                 | 1.9 kB     00:00
updates                                                  | 3.4 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.3.29-3.w5 will be installed
--> Processing Dependency: php-common = 5.3.29-3.w5 for package: php-5.3.29-3.w5.x86_64
--> Processing Dependency: php-cli = 5.3.29-3.w5 for package: php-5.3.29-3.w5.x86_64
--> Processing Dependency: libssl.so.6()(64bit) for package: php-5.3.29-3.w5.x86_64
--> Processing Dependency: libcrypto.so.6()(64bit) for package: php-5.3.29-3.w5.x86_64
--> Running transaction check
---> Package openssl098e.x86_64 0:0.9.8e-18.el6_5.2 will be installed
---> Package php.x86_64 0:5.3.29-3.w5 will be installed
--> Processing Dependency: php-common = 5.3.29-3.w5 for package: php-5.3.29-3.w5.x86_64
--> Processing Dependency: php-cli = 5.3.29-3.w5 for package: php-5.3.29-3.w5.x86_64
--> Finished Dependency Resolution
Error: Package: php-5.3.29-3.w5.x86_64 (webtatic)
           Requires: php-cli = 5.3.29-3.w5
           Installed: php-cli-5.4.35-1.el6.remi.x86_64 (@remi)
               php-cli = 5.4.35-1.el6.remi
           Available: php-cli-5.2.17-1.1.w5.x86_64 (webtatic)
               php-cli = 5.2.17-1.1.w5
           Available: php-cli-5.3.3-38.el6.x86_64 (base)
               php-cli = 5.3.3-38.el6
           Available: php-cli-5.3.3-40.el6_6.x86_64 (updates)
               php-cli = 5.3.3-40.el6_6
           Available: php-cli-5.3.27-2.w5.x86_64 (webtatic)
               php-cli = 5.3.27-2.w5
           Available: php-cli-5.3.28-1.w5.x86_64 (webtatic)
               php-cli = 5.3.28-1.w5
           Available: php-cli-5.3.28-2.w5.x86_64 (webtatic)
               php-cli = 5.3.28-2.w5
           Available: php-cli-5.3.28-3.w5.x86_64 (webtatic)
               php-cli = 5.3.28-3.w5
           Available: php-cli-5.3.28-4.w5.x86_64 (webtatic)
               php-cli = 5.3.28-4.w5
           Available: php-cli-5.3.29-1.w5.x86_64 (webtatic)
               php-cli = 5.3.29-1.w5
           Available: php-cli-5.3.29-2.w5.x86_64 (webtatic)
               php-cli = 5.3.29-2.w5
           Available: php-cli-5.3.29-3.w5.x86_64 (webtatic)
               php-cli = 5.3.29-3.w5
Error: Package: php-5.3.29-3.w5.x86_64 (webtatic)
           Requires: php-common = 5.3.29-3.w5
           Installed: php-common-5.4.35-1.el6.remi.x86_64 (@remi)
               php-common = 5.4.35-1.el6.remi
           Available: php-common-5.2.17-1.1.w5.x86_64 (webtatic)
               php-common = 5.2.17-1.1.w5
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php-common = 5.3.3-38.el6
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php-common = 5.3.3-40.el6_6
           Available: php-common-5.3.27-2.w5.x86_64 (webtatic)
               php-common = 5.3.27-2.w5
           Available: php-common-5.3.28-1.w5.x86_64 (webtatic)
               php-common = 5.3.28-1.w5
           Available: php-common-5.3.28-2.w5.x86_64 (webtatic)
               php-common = 5.3.28-2.w5
           Available: php-common-5.3.28-3.w5.x86_64 (webtatic)
               php-common = 5.3.28-3.w5
           Available: php-common-5.3.28-4.w5.x86_64 (webtatic)
               php-common = 5.3.28-4.w5
           Available: php-common-5.3.29-1.w5.x86_64 (webtatic)
               php-common = 5.3.29-1.w5
           Available: php-common-5.3.29-2.w5.x86_64 (webtatic)
               php-common = 5.3.29-2.w5
           Available: php-common-5.3.29-3.w5.x86_64 (webtatic)
               php-common = 5.3.29-3.w5
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

EDIT:
Problem gelöst!

ich hab via

yum remove php-common

ein schon vorinstalliertes paket deinstalliert welches die probleme verursacht hat.
Als ich dann anschließend PHP ganz normal installiert habe (via: yum install php ) wurde dieses mitinstalliert.

Jetzt noch den httpd Dienst neu gestartet und alles super.

Grüße Frank

Content-Key: 257756

Url: https://administrator.de/contentid/257756

Printed on: April 18, 2024 at 02:04 o'clock