500 Internal Server Error when updating htaccess
As there are different modes that PHP can run in, it may be causing the internal server error (ie: FastCGI). You are better setting those values in your php.ini file or user.ini file to see if works that way. In your php.ini or user.ini file, do the following: max_input_vars = 5000