Added preflight check to confirm php version and mcrypt install.