From c8c7f5b3feb3b1ad7b561e0b502acdd35b68f14b Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 9 May 2014 10:36:22 +0200 Subject: [PATCH] Test against PHP_VERSION < 5.2.6, we don't support that low --- scripts/imdaemon.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/imdaemon.php b/scripts/imdaemon.php index 0ce74667c5..0298c00522 100755 --- a/scripts/imdaemon.php +++ b/scripts/imdaemon.php @@ -94,14 +94,6 @@ class ImMaster extends IoMaster } } -if (version_compare(PHP_VERSION, '5.2.6', '<')) { - $arch = php_uname('m'); - if ($arch == 'x86_64' || $arch == 'amd64') { - print "Aborting daemon - 64-bit PHP prior to 5.2.6 has known bugs in stream_select; you are running " . PHP_VERSION . " on $arch.\n"; - exit(1); - } -} - if (have_option('i', 'id')) { $id = get_option_value('i', 'id'); } else if (count($args) > 0) {