Added restrictions to PHP version and dependancy check for mcrypt