Fix silly erorrs I made

Signed-off-by: Suki <suki@missallsunday.com>
Change $curver[2][0] to $curver[2] on php_version_check()

Signed-off-by: Suki <suki@missallsunday.com>