Changed dependencies linking to more modern form and ensured that php5 module is installed before attempting to enable it and removed some Drupal specific elements