title: How to install any php extension in AWS Amazon Linux AMI?
body: <p>Today I was stuck at the point where I was trying to install php-tidy to AWS Ami Linux.</p>
  
  <p>It took 4 hours to install me a right version of extension to AWS EC2. So it's really painful for everyone if it takes a long time to install just a simple extension. So I finally found few command lines to install any supported aws php extension to working states.</p>
  
  <p>Check below answer </p>