| | |
| | | <form action="index.php" method="get"> |
| | | <?php |
| | | |
| | | $required_php_exts = array('PCRE' => 'pcre', 'DOM' => 'dom', |
| | | 'Session' => 'session', 'XML' => 'xml', 'JSON' => 'json'); |
| | | |
| | | $optional_php_exts = array('FileInfo' => 'fileinfo', 'Libiconv' => 'iconv', |
| | | 'Multibyte' => 'mbstring', 'OpenSSL' => 'openssl', 'Mcrypt' => 'mcrypt', |
| | | $required_php_exts = array( |
| | | 'PCRE' => 'pcre', |
| | | 'DOM' => 'dom', |
| | | 'Session' => 'session', |
| | | 'XML' => 'xml', |
| | | 'JSON' => 'json' |
| | | ); |
| | | |
| | | $required_libs = array('PEAR' => 'PEAR.php', 'MDB2' => 'MDB2.php', |
| | | 'Net_SMTP' => 'Net/SMTP.php', 'Mail_mime' => 'Mail/mime.php', |
| | | 'iilConnection' => 'lib/imap.inc'); |
| | | $optional_php_exts = array( |
| | | 'FileInfo' => 'fileinfo', |
| | | 'Libiconv' => 'iconv', |
| | | 'Multibyte' => 'mbstring', |
| | | 'OpenSSL' => 'openssl', |
| | | 'Mcrypt' => 'mcrypt', |
| | | ); |
| | | |
| | | $supported_dbs = array('MySQL' => 'mysql', 'MySQLi' => 'mysqli', |
| | | 'PostgreSQL' => 'pgsql', 'SQLite (v2)' => 'sqlite'); |
| | | $required_libs = array( |
| | | 'PEAR' => 'PEAR.php', |
| | | 'MDB2' => 'MDB2.php', |
| | | 'Net_SMTP' => 'Net/SMTP.php', |
| | | 'Mail_mime' => 'Mail/mime.php', |
| | | ); |
| | | |
| | | $ini_checks = array('file_uploads' => 1, 'session.auto_start' => 0, |
| | | 'zend.ze1_compatibility_mode' => 0, 'mbstring.func_overload' => 0, |
| | | 'suhosin.session.encrypt' => 0); |
| | | $supported_dbs = array( |
| | | 'MySQL' => 'mysql', |
| | | 'MySQLi' => 'mysqli', |
| | | 'PostgreSQL' => 'pgsql', |
| | | 'SQLite (v2)' => 'sqlite', |
| | | ); |
| | | |
| | | $optional_checks = array('date.timezone' => '-NOTEMPTY-'); |
| | | $ini_checks = array( |
| | | 'file_uploads' => 1, |
| | | 'session.auto_start' => 0, |
| | | 'zend.ze1_compatibility_mode' => 0, |
| | | 'mbstring.func_overload' => 0, |
| | | 'suhosin.session.encrypt' => 0, |
| | | ); |
| | | |
| | | $optional_checks = array( |
| | | 'date.timezone' => '-NOTEMPTY-', |
| | | ); |
| | | |
| | | $source_urls = array( |
| | | 'Sockets' => 'http://www.php.net/manual/en/book.sockets.php', |
| | |
| | | $ext_dir = ini_get('extension_dir'); |
| | | |
| | | $prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : ''; |
| | | foreach ($required_php_exts AS $name => $ext) { |
| | | foreach ($required_php_exts as $name => $ext) { |
| | | if (extension_loaded($ext)) { |
| | | $RCI->pass($name); |
| | | } else { |
| | |
| | | <p class="hint">The next couple of extensions are <em>optional</em> and recommended to get the best performance:</p> |
| | | <?php |
| | | |
| | | foreach ($optional_php_exts AS $name => $ext) { |
| | | foreach ($optional_php_exts as $name => $ext) { |
| | | if (extension_loaded($ext)) { |
| | | $RCI->pass($name); |
| | | } |
| | |
| | | <?php |
| | | |
| | | $prefix = (PHP_SHLIB_SUFFIX === 'dll') ? 'php_' : ''; |
| | | foreach ($supported_dbs AS $database => $ext) { |
| | | foreach ($supported_dbs as $database => $ext) { |
| | | if (extension_loaded($ext)) { |
| | | $RCI->pass($database); |
| | | } |