Instead installing php mysqli apache one by one Install xampp. It comes with all the things that we need to run q2a.