Just switch the theme, then delete the theme you bought and after edited the .htaccess
reinstall it.
This should work without problems. If you have access to cpanel, set the values from the php settings section instead of rely on the .htaccess
file.