check for correct php version