Skip to content
Commit f1926a01 authored by Till Brehm's avatar Till Brehm
Browse files

Fixed problems that prevented ISPConfig to run on PHP 7, Issue #3716

parent ad576c6a
  • 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

  • Jesse Norell @jnorell

    mentioned in merge request !278 (merged)

    ·

    mentioned in merge request !278 (merged)

    Toggle commit list
  • 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)

  • Yes, it's wrong. I'll change that.

  • mentioned in commit 447c8380

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment