Fixed problems that prevented ISPConfig to run on PHP 7, Issue #3716
-
Developer
Running update.php now returns:
PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given in /root/ispconfig3/install/update.php on line 266 Unable to connect to mysql server
-
mentioned in merge request !278 (merged)
-
Developer
It seems like lib/mysql_clientdb.conf does not support a port number (eg. $clientdb_port); previously you could probably format $clientdb_host as 'hostname:port' format and it would work, but with the change to mysqli_connect that will fail. Maybe nobody uses that and it doesn't matter?
-
is port in the wrong place? syntax : mysqli_connect(host,username,password,dbname,port,socket);
mysqli_connect(
tmp_mysql_server_host . ':' . (int)
tmp_mysql_server_port, $tmp_mysql_server_admin_user, $tmp_mysql_server_admin_password) -
Author Owner
Yes, it's wrong. I'll change that.