adding php version check during installation