<td class="instructions exclam"><a href="http://php.net/pcre" target="_blank">PCRE</a> has not been compiled with Unicode property support</td> <?php } else { ?> <td class="sign pass">Pass</td> <td class="version"></td> <td class="instructions"></td> <?php } ?> </tr> <tr> <th class="label">Mod rewrite</th> <?php $have_module = apache_is_module_loaded('mod_rewrite'); ?> <?php if ($have_module) { ?> <td class="sign pass">Pass</td> <td class="version"></td> <td class="instructions"></td> <?php } else { if ($have_module == null) { ?> <td class="sign gloups">Unknown</td> <td class="version">Unknown</td> <td class="instructions exclam">We could not determine if Mod Rewrite was enabled or not</td> <?php
// REQUIREMENTS CHECK $check = true; // APACHE $apache_modules = ''; if (stristr($_SERVER['SERVER_SIGNATURE'], 'Apache')) { $apache = OK; // check modules $apache_modules = '<li>Apache Modules<ul>'; $mod = array('mod_rewrite', 'mod_headers'); if (phpversion() >= 7) { $mod[] = 'mod_php7'; } else { $mod[] = 'mod_php5'; } foreach ($mod as $m) { if (apache_is_module_loaded($m)) { $apache_modules .= '<li>' . $m . ': ' . OK . '</li>'; } else { $apache_modules .= '<li class="error">' . $m . ': ' . FAILED . '</li>'; if ($m != 'mod_headers') { $check = false; } } } $apache_modules .= '</ul></li>'; } else { $apache = FAILED . ' You need Apache web server to run X3 CMS'; $check = false; } // PHP $php_ext = '';