Failed installation [SOLVED]

Hi all

Could not get installation of SuiteCRM7.4.3MAX to complete as it hung after specifying the user details for the new database with the following error message in Apache error.log:


PHP Notice:  Undefined index: db_port in /var/www/suitecrm/include/database/MysqliManager.php on line 274, referer: (URL)/suitecrm/install.php

Replacing in /suitecrm/include/database/MysqliManager.php at line 274:


$dbport=$configOptions['db_port'] == '' ? null : $configOptions['db_port'];

with


if (array_key_exists ('db_port',$configOptions)) {
   $dbport=$configOptions['db_port'] == '' ? null : $configOptions['db_port'];
else $dbport= null;

meant that the installation could complete. Hope this helps others.