Likes perm

Fix some silly mistakes I made.

Change $curver[2][0] to $curver[2]

$curver[2][0] will tell PHP to only accept the first value on the string so if you have for example php version 5.3.13 the check will only take the 1 instead of taking the whole 13  so when doing a check against our current min version:  5.3.7  the check will fail because 1 < 7