I'm trying to install Chulan on my server which has Ubuntu 16.04 and php7. I would ideally like to use the demo install script to set everything up. However, the mdchulan.profile install script has some mysql_* statements that don't work in php7, because they have been deprecated in favor of mysqli_* statements. I thought it would be a simple matter of searching and replacing mysql_ with mysqli_, so I did that. But now I'm getting errors saying
mysqli_query() expects at least 2 parameters, 1 given in _md_profile_import_sql()
all over the place. I feel like asking for help now because I'm not sure how exactly I have to change the mysqli statements to make the script work. Can you give me some advice or provide a php7-compatible install script?