Index: acquia_agent/acquia_agent.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/acquia_connector/acquia_agent/acquia_agent.info,v
retrieving revision 1.1
diff -u -p -r1.1 acquia_agent.info
--- acquia_agent/acquia_agent.info	30 Dec 2008 16:51:45 -0000	1.1
+++ acquia_agent/acquia_agent.info	20 Jan 2009 18:04:15 -0000
@@ -2,4 +2,5 @@
 name = Acquia agent
 description = "Allows Drupal to securely communicate with the Acquia Network, and checks for updates to Acquia Drupal."
 package = Acquia Network
+php = 5.0
 core = 6.x
Index: acquia_agent/acquia_agent.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/acquia_connector/acquia_agent/acquia_agent.install,v
retrieving revision 1.1
diff -u -p -r1.1 acquia_agent.install
--- acquia_agent/acquia_agent.install	30 Dec 2008 16:51:45 -0000	1.1
+++ acquia_agent/acquia_agent.install	20 Jan 2009 18:04:15 -0000
@@ -105,9 +105,9 @@ function acquia_agent_requirements($phas
       }
       break;
     case 'install':
+      $t = get_t();
       if (IS_ACQUIA_DRUPAL && $memory_limit && parse_size($memory_limit) < parse_size(ACQUIA_DRUPAL_MINIMUM_PHP_MEMORY)) {
         // Override the PHP memory limit warning provided by Drupal core.
-        $t = get_t();
         $description = $t('Your PHP memory limit is currently set at %current_memory_limit. Increasing this to %memory_minimum_limit (or more) is recommended to help prevent errors in the installation process and later during operation of the site.', array('%current_memory_limit' => $memory_limit, '%memory_minimum_limit' => ACQUIA_DRUPAL_MINIMUM_PHP_MEMORY));
         if ($php_ini_path = get_cfg_var('cfg_file_path')) {
           $description .= ' '. $t('Increase the memory limit by editing the memory_limit parameter in the file %configuration-file and then restart your web server (or contact your system administrator or hosting provider for assistance).', array('%configuration-file' => $php_ini_path));
@@ -120,6 +120,13 @@ function acquia_agent_requirements($phas
           'severity' => REQUIREMENT_WARNING,
         );
       }
+      // Ensure this module is compatible with the currently installed version of PHP.
+      if (version_compare(phpversion(), 5.0) < 0) {
+        $requirements['acquia_php_version'] = array(
+          'description' => $t('The Acquia connector modules require a PHP version of at least 5.0.'),
+          'severity' => REQUIREMENT_ERROR,
+        );
+      }
       break;
   }
 
Index: acquia_spi/acquia_spi.info
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/acquia_connector/acquia_spi/acquia_spi.info,v
retrieving revision 1.1
diff -u -p -r1.1 acquia_spi.info
--- acquia_spi/acquia_spi.info	30 Dec 2008 16:51:46 -0000	1.1
+++ acquia_spi/acquia_spi.info	20 Jan 2009 18:04:15 -0000
@@ -2,5 +2,6 @@
 name = Acquia site information
 description = "Sends a site profile including Acquia Drupal version, platform and module information; number of posts, comments and users; as well as file hashes and file metainformation on files in the system to the Acquia Network to facilitate support and update notifications."
 package = Acquia Network
+php = 5.0
 core = 6.x
 dependencies[] = acquia_agent
