'QSF-6 System Requirements Test', 'test' => array( 'software' => array( 'modRewrite' => array( 'title' => 'Apache mod_rewrite', 'validator' => 'testModRewrite', ), 'php' => array( 'title' => 'PHP', 'versionIdentificator' => 'getPhpVersion', 'rules' => array( array('5.6.0', '>='), array('5.7.0', '<'), ), 'extensions' => array( 'ctype', 'libxml', 'dom', 'gd', 'iconv', 'json', 'SimpleXML', 'PDO', 'pdo_mysql', 'fileinfo', array( 'name' => 'curl', 'versionIdentificator' => 'getCurlVersion', 'rules' => array( array('7.34.0', '>='), ), ), 'xml', 'bcmath', 'zlib' // Optional extensions // 'soap', 'posix', ), 'subTests' => array('testPhpExtensions'), ), 'mysql' => array( 'title' => 'MySQL', 'versionIdentificator' => 'getMySqlVersion', 'rules' => array( array('5.5.41', '>='), ), ), 'imageMagick' => array( 'title' => 'ImageMagick', 'versionIdentificator' => 'getImageMagickVersion', 'rules' => array( array('6.5.4-7', '>=') ) ), ), ), 'resizer' => array( 'image' => 'images/business.jpg', 'sizes' => array( array( 'width' => 480, 'height' => 360, 'method' => 'inner', ), array( 'width' => 480, 'height' => 360, 'method' => 'inner_gray', ), array( 'width' => 150, 'height' => 150, 'method' => 'cropCenter', ), ) ), );