Php 7 mysql_pconnect()

Hi All,
I have updated to php7.0 and get the following error when I do Clear cache and register hooks
Call to undefined function mysql_pconnect()
my setup is
Debian 8
PHP Version 7.0.18-1~dotdeb+8.1
MySql = 10.1.22-MariaDB-1~jessie

in header.inc.php I had
‘db_type’ => ‘mysql’,
I changed that to
‘db_type’ => ‘mysqli’,

Should this be MySQL PDO ?

Is this a bug or do I have an error in my configuration?

This also effects Chat

My settings are :-
DB type = MySQLi
DB port = 3306

I think egroupware needs to use mysqli_pconnect() and not mysql_pconnect()
It sounds like a configuration issue on my server, Must I change some setting in MySQL ?

OK I did a complete removal and reinstall of egrpupware-epl using the
Debian pkg manager.
I restored the Mysql DB from backup
All is working now.
The down side is that I did not find the root cause of the problem.

Update

Only when I installed egroupware-epl-phpfreechat I get mysql_pconnect() error.

OK at Release notes 16.1 · EGroupware/egroupware Wiki · GitHub
I found the following:
phpFreeChat (not available with PHP 7.0+)