fully mysql to mysqli
fixed install page