***************
*** 1078,1083 ****
  if (phpversion() < "4.1.0") {
     die("You need php version 4.1.0 or later");
  }
  // check for regex support
  if(!extension_loaded("pcre")) {
     die("You need PERL regular expressions compiled into php (--with-pcre-regex=DIR) - installation cannot continue!");
--- 1078,1087 ----
  if (phpversion() < "4.1.0") {
     die("You need php version 4.1.0 or later");
  }
+ if (phpversion() >= "6") {
+     die("This version of IPplan will not work with PHP 6.x");
+ }
+ 
  // check for regex support
  if(!extension_loaded("pcre")) {
     die("You need PERL regular expressions compiled into php (--with-pcre-regex=DIR) - installation cannot continue!");
