{"id":9572,"date":"2026-06-03T06:45:58","date_gmt":"2026-06-03T04:45:58","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=9572"},"modified":"2026-06-03T06:45:59","modified_gmt":"2026-06-03T04:45:59","slug":"how-to-install-mediawiki","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/","title":{"rendered":"How to Install MediaWiki"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">If you encounter <strong>Warning<\/strong> or <strong>Fatal Error<\/strong> messages after uploading MediaWiki files via FTP, the issue may be caused by an incomplete or incorrect extraction of the installation archive on your local computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To avoid these problems, it is recommended to download and extract the MediaWiki package directly on the server using SSH.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Before_You_Begin\" >Before You Begin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_1_Connect_to_the_Server_via_SSH\" >Step 1: Connect to the Server via SSH<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_2_Download_MediaWiki\" >Step 2: Download MediaWiki<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_3_Extract_the_Archive\" >Step 3: Extract the Archive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_4_Enter_the_MediaWiki_Directory\" >Step 4: Enter the MediaWiki Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_5_Launch_Midnight_Commander\" >Step 5: Launch Midnight Commander<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_6_Select_the_Installation_Files\" >Step 6: Select the Installation Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_7_Move_the_Files_to_the_Website_Directory\" >Step 7: Move the Files to the Website Directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Step_8_Run_the_Installer\" >Step 8: Run the Installer<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Verify_the_Installation\" >Verify the Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-install-mediawiki\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Before_You_Begin\"><\/span>Before You Begin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-1831261700\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">You will need:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An active hosting account<\/li>\n\n\n\n<li>SSH access enabled for your account<\/li>\n\n\n\n<li>An SSH client such as PuTTY, Bitvise, or a terminal application<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Connect_to_the_Server_via_SSH\"><\/span>Step 1: Connect to the Server via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Connect to your hosting account using SSH.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once connected, navigate to the directory where you want to download the MediaWiki installation package.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Download_MediaWiki\"><\/span>Step 2: Download MediaWiki<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Download the latest MediaWiki package directly from the official source.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/releases.wikimedia.org\/mediawiki\/1.35\/mediawiki-1.35.0.tar.gz<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> The version number in the command may change over time. You can always obtain the latest download link from the official MediaWiki download page.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Extract_the_Archive\"><\/span>Step 3: Extract the Archive<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After the download completes, extract the package using:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -zxvf mediawiki-1.35.0.tar.gz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This will create a new directory containing the MediaWiki installation files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Enter_the_MediaWiki_Directory\"><\/span>Step 4: Enter the MediaWiki Directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Move into the extracted directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd mediawiki-1.35.0<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Launch_Midnight_Commander\"><\/span>Step 5: Launch Midnight Commander<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Start Midnight Commander:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mc<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Midnight Commander is a file manager that simplifies moving files and directories directly from the terminal.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_6_Select_the_Installation_Files\"><\/span>Step 6: Select the Installation Files<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Inside Midnight Commander:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the MediaWiki directory.<\/li>\n\n\n\n<li>From the menu, select:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>File \u2192 Select Group<\/strong><\/p>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Enter:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>*<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">to select all files and folders.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, use your keyboard shortcuts to select the entire directory contents.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_7_Move_the_Files_to_the_Website_Directory\"><\/span>Step 7: Move the Files to the Website Directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the second Midnight Commander panel, open your website directory, typically:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public_html<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use the <strong>TAB<\/strong> key to switch between panels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After selecting the files:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Press <strong>F6 (Move)<\/strong>.<\/li>\n\n\n\n<li>Confirm the operation.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The MediaWiki files will be moved to your website directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_8_Run_the_Installer\"><\/span>Step 8: Run the Installer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the files have been moved successfully, open your website in a web browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The MediaWiki installation wizard should start automatically.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the on-screen instructions to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configure the database<\/li>\n\n\n\n<li>Create an administrator account<\/li>\n\n\n\n<li>Set the site name<\/li>\n\n\n\n<li>Complete the installation<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Verify_the_Installation\"><\/span>Verify the Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After installation is complete, confirm that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The main page loads correctly.<\/li>\n\n\n\n<li>You can log in to the administration interface.<\/li>\n\n\n\n<li>No PHP warnings or fatal errors are displayed.<\/li>\n\n\n\n<li>MediaWiki can connect to the database successfully.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If MediaWiki displays errors after being uploaded via FTP, downloading and extracting the installation package directly on the server using SSH is often the most reliable solution. After extracting the archive, move the files into the <code>public_html<\/code> directory and launch the installation wizard from your web browser to complete the setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[54,11363,11368,11421,58],"manual_kb_tag":[5199,5200,5201,3619,4977,5194,5195,5196,5197,5198],"class_list":["post-9572","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-ssh","manualknowledgebasecat-getting-started","manualknowledgebasecat-first-website-setup","manualknowledgebasecat-other-cms-platforms","manualknowledgebasecat-cms-web-applications","manual_kb_tag-terminal-client","manual_kb_tag-putty-client","manual_kb_tag-bitvise-client","manual_kb_tag-ssh-access","manual_kb_tag-midnight-commander","manual_kb_tag-install-mediawiki","manual_kb_tag-mediawiki-installation","manual_kb_tag-download-mediawiki","manual_kb_tag-extract-mediawiki-archive","manual_kb_tag-server-extraction"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9572\/revisions"}],"predecessor-version":[{"id":9573,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9572\/revisions\/9573"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=9572"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=9572"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=9572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}