Localhost xampp download11/28/2023 ![]() Change LocalSettings.php to reflect the new db username and password.Copy the wiki folder from back-up into the new htdocs folder.Change the SQL password of the root for that db (in privileges tab).Import the database file you backed-up.Create a new blank database with the default options and a name of your choice.Main article: Manual:Restoring a wiki from backup mywiki from c:\xampp\htdocs\mywiki to the backup location. Click Go and save the file to the backup location. Check the first box under "structure" (DROP TABLES), and check the "save as file" checkbox near the bottom. In SQL admin, go to the wiki database (typically wikidb), and click Export.Add any extra extensions your wiki is going to require.It should take you to the Main Page of your new wiki. Direct your browser once again to the appropriate page, e.g.After MediaWiki tells you that everything went smoothly, save your LocalSettings.php file to your wiki's root folder, e.g.This means the MySQL root account and its password. If you enabled the "security" option, then you need to Use superuser account.Follow the MediaWiki installer's instructions, entering the user name, and password you wrote down during the "creating your database" step above.Direct your browser to the appropriate page, e.g.To unpack such archive the following command can be used in Windows cmd or PowerShell: tar xzvf, e.g. mywiki\ of the htdocs folder, wherever that is e.g. Extract all your MediaWiki files and folders into a subfolder e.g.Look for Dynamic Extensions and make sure "extension=intl" is uncommented.Open the php.ini (can be found in the folder /path_to_xampp/php in most linux distributions, this file has the the path /opt/lampp/etc/php.ini ) file using your favorite text editor and find the following section and change to max_execution_time = 600.To make sure that the Apache HTTP server doesn't time out during the creation of the databases, modify the php.ini config file: ![]() Click the radio button for "Grant all privileges on database "xxx".You may want to write down your database name, user name, and password, because you'll need those to install MediaWiki. ![]() Enter a name for the user (e.g., wikiuser), a password and for the hostname select Local/localhost. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |