***************
*** 18,23 ****
  // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  //
  
  require_once("../config.php");
  //require_once("../schema.php");
  require_once("../ipplanlib.php");
--- 18,27 ----
  // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  //
  
+ if (phpversion() >= "6") {
+    die("This version of IPplan will not work with PHP 6.x");
+ }
+ 
  require_once("../config.php");
  //require_once("../schema.php");
  require_once("../ipplanlib.php");
