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>
Merge pull request #1714 from MissAllSunday/likes_perm

Likes perm