add in php version detection