diff --git a/lib/classes/setup.class.php b/lib/classes/setup.class.php index fa187b0b0a..afa1794d78 100644 --- a/lib/classes/setup.class.php +++ b/lib/classes/setup.class.php @@ -34,6 +34,7 @@ class setup , "libxml" , "mbstring" , "mysql" + , 'pcntl' , "PDO" , "phrasea2" , "SimpleXML" @@ -516,9 +517,14 @@ class setup { $constraints = array(); foreach (self::$PHP_EXT as $ext) { + + if('pcntl' === $ext && 0 === stripos(strtolower(PHP_OS), 'win')){ + continue; + } + if (extension_loaded($ext) !== true) { $blocker = true; - if (in_array($ext, array('ftp', 'twig', 'gmagick', 'imagick'))) { + if (in_array($ext, array('ftp', 'twig', 'gmagick', 'imagick', 'pcntl'))) { $blocker = false; }