An easy way to install MediaWiki is through the cPanel (Control Panel) via Softaculous Apps Installer. Softaculous is a cPanel feature where open-source web applications like WordPress, Joomla, Magento, among others, can be installed so that websites can be managed virtually. The website needs to be installed first so that it can be managed via cPanel.
|Important: The domain or subdomain where the MediaWiki will be installed should already be in the cPanel. Follow these links on how to add an addon domain and subdomain in the cPanel.|
Follow the steps below on how to install MediaWiki with Softaculous.
Step 1. Log in to cPanel.
Step 2. Click the Softaculous Apps Installer icon found under Software menu.
Step 3. Enter MediaWiki in the search box located on the upper left side of the page.
Step 4. Click MediaWiki from the results below the search box.
Step 5. Click Install Now button.
Step 6. Customise the settings for your MediaWiki site. Take note of the important fields below that need to be configured. You may consult your web developer on what to put for the rest of the boxes. If you are unsure of the specifications, you can leave each box as it is. Other fields can be configured after installation via the MediaWiki admin page.
- Choose the version you want to install – Choose the MediaWiki version that you want to install from the drop-down.
- Choose Installation URL – Click the drop-down menu to choose the domain where MediaWiki will be installed. Click each tooltip on the corresponding boxes where you are editing to get more details about each field.
|Note: Make sure to leave the In Directory field blank to avoid having this URL: http://yourdomain.website/mw19. Correct URL should be http://yourdomain.website.|
- Wiki name – Enter the name of your MediaWiki website in the corresponding box provided.
- Wiki Email – Enter the email where MediaWiki and others can contact you about your website. This is also used for administrative purposes.
- Admin Username – Replace or take note of the username in the box to login to the admin page of MediaWiki.
- Admin Password – Replace or take note of the password in the box to login to the admin page of MediaWiki.
- Select Language – Select your preferred language from the drop-down list.
- Enable Uploads – Check the box to enable uploads. This option can be enabled later as well.
Step 7. Click the [+] plus sign beside Advanced Options to see if there are configurations needed to be changed on the section. Click each tooltip on the corresponding boxes that you are editing to get more details about each field.
Step 8. Click the Install button after making sure all necessary details are correct and configured.
|Note: Each version of MediaWiki has its own PHP requirement, an error will interrupt the installation if the hosting account does not meet the PHP requirement. Follow this link on how to change the PHP version of your hosting.|
Step 9. Wait until the installation is complete. The progress will show on the page as presented in the screenshot below.
A message shown on the screenshot below will appear once the installation is completed. You can now start editing the website by accessing the MediaWiki admin page with the URL provided on the same page or by following the instructions on how to access admin pages.