title: yum install mcrypt on AWS linux (centos)
body: <p>I cant seem to install <code>mcrypt</code> on my new linux box with PHP 5.4 <br/>
  I have tried <code>sudo yum install php-mcrypt</code>, <code>sudo yum install php-mcrypt.x86_64</code></p>
  
  <p>result:</p>
  
  <pre><code>Loaded plugins: priorities, update-motd, upgrade-helper
  Resolving Dependencies
  --&gt; Running transaction check
  ---&gt; Package php-mcrypt.x86_64 0:5.3.28-1.5.amzn1 will be installed
  --&gt; Processing Dependency: php-common(x86-64) = 5.3.28-1.5.amzn1 for package: php-mcrypt-5.3.28-1.5.amzn1.x86_64
  --&gt; Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.3.28-1.5.amzn1.x86_64
  --&gt; Processing Dependency: libltdl.so.7()(64bit) for package: php-mcrypt-5.3.28-1.5.amzn1.x86_64
  --&gt; Running transaction check
  ---&gt; Package libmcrypt.x86_64 0:2.5.8-9.1.2.amzn1 will be installed
  ---&gt; Package libtool-ltdl.x86_64 0:2.4.2-18.4.8.2.21.amzn1 will be installed
  ---&gt; Package php-common.x86_64 0:5.3.28-1.5.amzn1 will be installed
  --&gt; Processing Conflict: php54-common-5.4.30-1.56.amzn1.x86_64 conflicts php-common &lt; 5.4.30-1.56.amzn1
  --&gt; Finished Dependency Resolution
  Error: php54-common conflicts with php-common-5.3.28-1.5.amzn1.x86_64
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  </code></pre>
  
  <p>inside php.ini i've added <code>mcrypt.so</code>, but this didnt do anything<br/>
  so then i took that off and created <code>/etc/php.d/mcrypt.ini</code> and added <code>extension=mcrypt.so</code>
  <br/><br/>
  Any help please<br/>
  thank you</p>