Checks php version