Unfortunately ajaxMyTop is written to PHP5 and I'm using PHP4 on Ubuntu/Dapper. These are the steps needed to get it working:
* Install php4-domxml (
apt-get install php4-domxml
)* Restart apache2 (
sudo /etc/init.d/apache2 restart
)* Grab the modified processlist.php from the ajaxMyTop forum on sourceforge here and replace the one provided by the 0.5.5 kit.
* Create a dbconfig.inc.php that looks something like this:
<?
$dbHost = "localhost";
$dbUser = "root";
$dbPass = "YOUR-ROOT-PASSWORD";
$db = mysql_connect($dbHost, $dbUser, $dbPass);
?>