| MySQL | Available | OK | "; echo "
| MySQL Server Version | " . mysql_get_server_info() . " | |
| MySQL Database Connection | Connected | OK |
| MySQL Database Select | Selected | OK |
| MySQL Database Select | Failed | Fatal: could not connect to $dbname |
| MySQL Database Select | Failed | Fatal: no database name supplied |
| MySQL Database Connection | Failed | Fatal: Check host, username and password |
| MySQL | Not Available | Fatal: Check MySQL support is compiled with PHP |
| Operating System | ".php_uname()." | To old, upgrade | " : "OK | "; echo "
| PHP Version | ".phpversion()." | $msg|
| Server API | $sapi | "; if ($sapi == "cgi") { echo "CGI mode is likely to have problems |
| Web Server | $_SERVER[SERVER_SOFTWARE] | |
| User Agent | ".$_SERVER['HTTP_USER_AGENT']." | |
| default locale | ";
$lc_list = explode(";", setlocale( LC_ALL, 0 ));
foreach ($lc_list as $lc) {
echo "$lc "; } echo " | Try setting to 0 if you are having problems with WSOD | " : "OK | "; echo "
| session.auto_start | ".get_cfg_var( 'session.auto_start' )." | $msg|
| session.save_handler | ".get_cfg_var( 'session.save_handler' )." | OK | " : "Fatal: Save path does not exist | "; echo "
| session.save_path | ".get_cfg_var( 'session.save_path' )." | $msg|
| session.serialize_handler | ".get_cfg_var( 'session.serialize_handler' )." | OK | " : "Try setting to 0 if you are having problems logging in | "; echo "
| session.use_cookies | $cookies | $msgThere are security risks with this turned on | " : "OK | "; echo "
| session.use_trans_sid | $sid | $msgOK | " : "You won't be able to upload files | "; echo "
| file_uploads | $fup | $msgOK | ' : 'Warning: you will not be able to save translation files. Check the directory permissions. | '; echo "
| /locales/en directory writable | $iw | $msgOK | ' : 'Warning: you will not be able to upload files. Check the directory permissions. | '; echo "
| /files directory writable | $iw | $msgOK | ' : 'Warning: you will not be able to make PDF\'s. Check the directory permissions. | '; echo "
| /files/temp directory writable | $iw | $msg|
| root_dir | $dPconfig[root_dir] | "; if ($url != $dPconfig['root_dir']) { echo "root_dir seems to be incorrect, probably should be $url | OK | "; } echo "