Increased version number and version required

This was done because the previous commit that removed the
deprecated functions in index.php only works in 2.4 onwards.