How to change php variable value using wp setting api

Save them using update_option('failed_login_limit', 2); then call them by using var $failed_login_limit = get_option('failed_login_limit');.

Use the same syntax for the other variables, as well.