---
title: "How to Enable File Uploads in MediaWiki"
description: "MediaWiki integrates files you upload fairly easily. However, by default the ability to upload files is disabled. In this guide, you can learn how to enable file uploads in MediaWiki Using an FTP..."
url: https://www.inmotionhosting.com/support/edu/mediawiki/how-to-enable-file-uploads-in-mediawiki/
date: 2018-05-17
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["MediaWiki"]
type: post
lang: en
---

# How to Enable File Uploads in MediaWiki

MediaWiki integrates files you upload fairly easily. However, by default the ability to **upload files** is disabled. In this guide, you can learn how to **enable file uploads in MediaWiki**

1. Using an FTP client or cPanel’s File Manager, locate and [edit the file](/support/website/how-to-edit-a-file/) named **LocalSettings.php**. This file, by default, is located in the root directory for your MediaWiki installation.
2. ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = false; #$wgUseImageMagick = true; #$wgImageMagickConvertCommand = "/usr/bin/convert";
3. Modify the **false** value to **true** and be sure to save your changes.

**Congratulations!** Now, you know how to **enable file uploads in MediaWiki**. To learn more about using images in MediaWiki, be sure to check out our guide on [how to insert images into MediaWiki](/support/edu/mediawiki/insert-images-wiki/).
