title: PHP Install Amazon Linux Cloud Formation
body: <p>I want to upgrade from php 7.1 to 7.3 so I am trying to update the cloud formation script however I am having trouble with some of the packages.</p>
  
  <p>The original script was:</p>
  
  <pre><code>"yum": {
                 "awslogs": [],
                 "nginx": [],
                 "php71-fpm": [],
                 "php71-mcrypt": [], 
                 "php71-common": [],
                 "php71-pdo": [],
                 "php71-mysqlnd": [],  
                 "php71-pecl-imagick": [], 
                 "php71-gd": [],
                 "cronie": []
      }
  </code></pre>
  
  <p>And the new script is:</p>
  
  <pre><code>"yum": {
                 "awslogs": [],
                 "nginx": [],
                 "php73-fpm": [],
                 "php73-mcrypt": [], 
                 "php73-common": [],
                 "php73-pdo": [],
                 "php73-mysqlnd": [],  
                 "php73-pecl-imagick": [], 
                 "php73-gd": [],
                 "cronie": []
      }
  </code></pre>
  
  <p>I thought this should be a simply change however I am receiving errors on the following extensions:</p>
  
  <pre><code>No package php73-mcrypt available.
  No package php73-pecl-imagick available.
  </code></pre>
  
  <p>I am not sure how to get these two packages/extensions installed and why the command would be different? </p>