But when I go to the home page, I get this error in the browser:
SYSTEM WARNING: mysql_connect() [function.mysql-connect]: Access denied for user 'ususermantis'@'yyy.yyy.yyy.yyy' (using password: YES)
Fatal error: Call to undefined function event_clear_callbacks() in /usr/local/apache2/htdocs/mantis/core/error_api.php on line 135
where xxx.xxx.xxx.xxx is the machine where is the apache, php and mantis and yyy.yyy.yyy.yyy is the machine where is MySQL
mysql -h <mysqlhost> -u <user> -p <mantis_database>
When that's working properly, you can move on to Mantis. Otherwise investigate the permissions on the MySQL server, your Mantis user needs to have remote access privileges to the Mantis database.