Convert to mysqli_
As eventually the php team plans to deprecate mysql_* series of functions eventually.. There advise is to do all new projects in PDO or mysqli..
For ISPConfig's case I think the path should be mysqli because ISPConfig does remote Database connections.
Complete guide on conveting to mysqli is at http://forge.mysql.com/wiki/Converting_to_MySQLi