In order to enable file uploads, we will have to edit the LocalSettings.php
file again. You will need to use a file manager, such as cPanel or your FTP program to modify this file.
1. Open up the tool you will be using to modify your
LocalSettings.php
file and navigate to it. Remember, it is usually found in thepublic_html
folder.2. Open the
LocalSettings.php
file for editing.3. Locate the line that reads
$wgEnableUploads = false
;.4. Change the word
false
to readtrue
as shown in the following screenshot:
Now that your LocalSettings.php
file has been changed, let's take a look at the wiki again. Go back to the Main Page of your wiki and click on the refresh button of your browser. When you see your toolbox, you will now have the Upload file link.
Note
Using your FTP program, or your file manager, you can check to see if the file permissions for your Images
folder is set to Read, Write, and Edit for User, Group, and World...