Changed PHP packages and fixed the install process