l'installation de php et d'apache sur les instances Amazon EC2

Je suis en train d'installer PHP sur des instances amazon ec2, mais quand je lance la commande suivante:
sudo yum -y install httpd php54-fpm php54-commune

il me donne l'erreur suivante:

     Loaded plugins: priorities, security, update-motd, upgrade-helper
    Setting up Install Process
    Resolving Dependencies
   --> Running transaction check
   ---> Package httpd.x86_64 0:2.2.25-1.0.amzn1 will be installed
   --> Processing Dependency: httpd-tools = 2.2.25-1.0.amzn1 for package: httpd-2.2.25-     1.0.amzn1.x86_64
   --> Processing Dependency: apr-util-ldap for package: httpd-2.2.25-1.0.amzn1.x86_64
   ---> Package php54-common.x86_64 0:5.4.17-2.41.amzn1 will be installed
   ---> Package php54-fpm.x86_64 0:5.4.17-2.41.amzn1 will be installed
    --> Running transaction check
  enter code here ---> Package apr-util-ldap.x86_64 0:1.4.1-4.14.amzn1 will be installed
   ---> Package httpd-tools.x86_64 0:2.2.25-1.0.amzn1 will be installed
--> Processing Conflict: httpd24-tools-2.4.6-2.47.amzn1.x86_64 conflicts httpd-tools < 2.4.6
--> Processing Conflict: php54-common-5.4.17-2.41.amzn1.x86_64 conflicts php-common < 5.4.17-2.41.amzn1
--> Finished Dependency Resolution
Error: httpd24-tools conflicts with httpd-tools-2.2.25-1.0.amzn1.x86_64
Error: php54-common conflicts with php-common-5.3.27-1.0.amzn1.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Merci d'avance.

En ce qui concerne l'Apache conflit.. Vous essayez d'installer le httpd paquet, contenant Apache v2.2, mais vous avez déjà httpd24, contenant Apache v2.4, installé.

OriginalL'auteur modon | 2013-09-02