Crash when upgrading PHP form 5.6.38 to 7.x

Hi
I tryed to upgrade PHP as my provider offers a multi-PHP configuration.
OJS instaled is 3.1.1.0
When upgrading PHP form 5.6.38 to 7.x OJS Crash with the following log messages:

[08-Nov-2018 11:31:04 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
[08-Nov-2018 11:31:04 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/adodb/adodb.inc.php on line 263
[08-Nov-2018 11:31:04 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/adodb/adodb.inc.php on line 359
[08-Nov-2018 11:31:04 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[08-Nov-2018 11:31:04 Europe/Madrid] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[08-Nov-2018 11:31:04 Europe/Madrid] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456
Stack trace:
#0 /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/adodb/adodb.inc.php(558): ADODB_mysql->_connect(‘localhost’, ‘xxxxr…’, ‘xxx’, ‘xxxx…’)
#1 /home/urgcnwev/public_html/aeet-rel/lib/pkp/classes/db/DBConnection.inc.php(144): ADOConnection->Connect(‘localhost’, ‘xxxx…’, ‘xxx’, ‘xxx…’, false)
#2 /home/urgcnwev/public_html/aeet-rel/lib/pkp/classes/db/DBConnection.inc.php(119): DBConnection->connect()
#3 /home/urgcnwev/public_html/aeet-rel/lib/pkp/classes/db/DBConnection.inc.php(76): DBConnection->initConn()
#4 /home/urgcnwev/public_html/aeet-rel/lib/pkp/classes/db/DBConnection.inc.php(52): DBConnection->initDefaultDBConnection()
#5 /home/urgcnwev/public_html/aeet-rel/lib/pkp/classes/db/DBConnection.inc.php(220): DBConnection->__construct()
#6 /home/urgcnwev/public_html/aeet-rel/lib/pkp/cla in /home/urgcnwev/public_html/aeet-rel/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php on line 456

Any idea of what is happening?

Sounds like the same problem as recently discussed here:

Thanks Graham

Now it works fine…

Erick