fixed if DB_PORT not set in www/config.php