}
if ( $conf->dba ) {
echo "<li>";
- aField( $conf, "Shm", "DBA", "radio", "dba" );
+ aField( $conf, "Shm", "DBA (not recommended)", "radio", "dba" );
echo "</li>";
}
?>
<br /><br />
MediaWiki can also detect and support eAccelerator, Turck MMCache, APC, and XCache, but
these should not be used if the wiki will be running on multiple application servers.
- You can also use DBA for storing object cache in the file.
+ <br/><br/>
+ DBA (Berkeley-style DB) is generally slower than using no cache at all, and is only
+ recommended for testing.
</p>
</div>
function escapePhpString( $string ) {
+ if ( is_array( $string ) || is_object( $string ) ) {
+ return false;
+ }
return strtr( $string,
array(
"\n" => "\\n",
}
if ( !$errstr && count( $hostport ) != 2 ) {
$errstr = 'Please specify host and port';
- var_dump( $hostport );
}
if ( !$errstr ) {
list( $host, $port ) = $hostport;