From 04140c38d1e5f81e5f0cb1953583a3f9702bcd7f Mon Sep 17 00:00:00 2001
From: Albert Santoni <albert.santoni@sourcefabric.org>
Date: Tue, 17 Dec 2013 12:56:56 -0500
Subject: [PATCH] Rollback to requiring PHP 5.3 to fix Ubuntu 12.04 support

---
 install_minimal/include/AirtimeInstall.php  | 4 ++--
 install_minimal/include/airtime-install.php | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/install_minimal/include/AirtimeInstall.php b/install_minimal/include/AirtimeInstall.php
index f5c749c86..ac44297bd 100644
--- a/install_minimal/include/AirtimeInstall.php
+++ b/install_minimal/include/AirtimeInstall.php
@@ -532,9 +532,9 @@ class AirtimeInstall
 
     public static function checkPHPVersion()
     {
-        if (PHP_VERSION_ID < 50400)
+        if (PHP_VERSION_ID < 50300)
         {
-            echo "Error: Airtime requires PHP 5.4 or greater.";
+            echo "Error: Airtime requires PHP 5.3 or greater.";
             return false;
         }
         return true;
diff --git a/install_minimal/include/airtime-install.php b/install_minimal/include/airtime-install.php
index fa12def31..a59baacd9 100644
--- a/install_minimal/include/airtime-install.php
+++ b/install_minimal/include/airtime-install.php
@@ -12,9 +12,9 @@ require_once(__DIR__.'/airtime-constants.php');
 // The only way we get here is if we are doing a new install or a reinstall.
 // -------------------------------------------------------------------------
 
-if (PHP_VERSION_ID < 50400) //PHP 5.4
+if (PHP_VERSION_ID < 50300) //PHP 5.3
 {
-    echo("ERROR: Your PHP version is too old!\nAirtime requires PHP 5.4 or greater.\n");
+    echo("ERROR: Your PHP version is too old!\nAirtime requires PHP 5.3 or greater.\n");
     exit(1);
 }