title: Cannot update to php 5.4 - AWS ec2
body: <p>I was having php5.3 and httpd2.2 on my instance. Now I need to upgrade to php 5.4.</p>
  
  <p>I am following these instructions :</p>
  
  <pre><code>http://codingsteps.com/install-apache-2-4-php-5-4-php-apc-on-amazon-ec2-with-amazon-linux/
  </code></pre>
  
  <p>I have <code>sudo yum remove</code> all the conflicts and now the remaining two are: </p>
  
  <pre><code>Error: httpd24-tools conflicts with httpd-tools-2.2.29-1.4.amzn1.x86_64
  Error: httpd24 conflicts with httpd-2.2.29-1.4.amzn1.x86_64
  </code></pre>
  
  <p>But if I run for example :</p>
  
  <pre><code>[ec2-user@ip-172-31-44-86 ~]$ sudo yum install -y httpd24 php54
  ...
  --&gt; Finished Dependency Resolution
  Error: httpd24-tools conflicts with httpd-tools-2.2.29-1.4.amzn1.x86_64
  Error: httpd24 conflicts with httpd-2.2.29-1.4.amzn1.x86_64
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  [ec2-user@ip-172-31-44-86 ~]$
  </code></pre>
  
  <p>EDIT :
  I am trying to remove them :</p>
  
  <pre><code>sudo yum remove httpd-tools-2.2.29-1.4.amzn1.x86_64
  </code></pre>
  
  <p>But I get that :</p>
  
  <pre><code>Loaded plugins: priorities, update-motd, upgrade-helper
  No Match for argument: httpd-tools-2.2.29-1.4.amzn1.x86_64
  No Packages marked for removal
  </code></pre>
  
  <p>What should I do?</p>