Support » Knowledge Base » General questions » Scripts troubleshooting »
Every time you save frontend settings using WebAsyst Installer section "Settings -> Frontend Settings", contents of file /.htaccess are automatically rewritten. On some web hosting servers that file contains special directives that are used to enable PHP 5 instead of PHP 4 or override other default parameters. Thus, if that file is overwritten, the PHP version on your website can be changed from 5 to 4.
To avoid overwriting file /.htaccess in such cases, copy its contents prior to saving the frontend settings to file /published/wbsadmin/html/configs/.htaccess.user. If there is no such file on your server, create it. Later on, if you click again on "Save" in section " Settings -> Frontend Settings", contents of file /published/wbsadmin/html/configs/.htaccess.user will be automatically added to the beginnig of file /.htaccess.