title: multiple versions of php on linux apache server
body: <p>I just launched a new EC2 instance and installed a LAMP server which installed PHP-7.</p>
  
  <p>My plans for the server is to host a Drupal-7 and a Moodle-28 site.</p>
  
  <p>Drupal is happy with PHP-7 but Moodle-28 will not cooperate with a version of PHP over version 5.</p>
  
  <p><strong>Can anyone tell me:</strong></p>
  
  <ul>
  <li>if it's a good idea to install multiple versions of PHP </li>
  <li>how to direct different virtualhost to use different PHP versions</li>
  </ul>