--- environment.inc.orig        2009-06-02 09:08:11.000000000 -0500
+++ environment.inc     2009-06-02 09:11:41.000000000 -0500
@@ -117,6 +117,16 @@ define('DRUSH_TABLE_VERSION', '1.1.3');
 define('DRUSH_TABLE_URL', 'http://cvs.php.net/viewvc.cgi/pear/Console_Table/Table.php?revision=1.28&view=co');
 
 /**
+ * use PHP_Compat if available to load php_ini_loaded_file() 
+ */
+
+if (!function_exists('php_ini_loaded_file')) {
+  if(@require_once 'PHP/Compat.php') {
+    PHP_Compat::loadFunction('php_ini_loaded_file');
+  }
+}
+
+/**
  * Helper function listing phases.
  *
  * For commands that need to iterate through the phases, such as help
