I do see an ftp folder when looking at everything, although I do not have GoDaddy. I have FastDomain. Know anything about that?
Looking at their web site, they look like pretty much a standard shared web host. I doubt that they'll make or allow changes to php.ini, so you'll have to try using an .htaccess file instead. The ftp folder is probably not where you'll want your .htaccess file, that's where you would store files to be accessed via ftp.cohcomics.com. You're probably looking for a folder named either www or public_html.
Could this screw up my ability to upload stuff to the server , not through the wiki but using the fast domain interface?
No, the only thing it will affect is how large those uploads can be. Currently, they're limited to 2 MB, and (if the web host allows it) that will allow you to upload larger files via PHP. An .htaccess file will apply its settings to all subdirectories under where it's located. So, for example, if you put the .htaccess file in home/cohcomicindex, then it would affect trying to upload a file via a web form at /home/cohcomicindex/upload.php, but it wouldn't affect trying to upload a file via a web form at /home/myotherstuff/upload.php.
Is this right? I didn't get an answer.
$wgMaxUploadSize = 1024 * 1024 * 15;
because if you go to my wiki and join it, then go to the upload page, you'll see it still says Max Upload 2MB. Why is that if I put that code in the localsettings.php file?
Yes, that's correct. However, be aware that you're actually
lowering the limit of how large a file can be when uploading to the wiki, not increasing it. The default is 100 MB.
The maximum file size for uploading to the wiki is set in two places. One is the $wgMaxUploadSize variable. The other is within PHP. The reason that it is still showing 2 MB is because the upload page will always show you the lesser of those two settings. If it's set lower in PHP, you'll see the PHP setting, not the $wgMaxUploadSize setting.
To demonstrate, try changing the line to this temporarily:
$wgMaxUploadSize = 1024 * 1024 * 1; // 1 MB max upload size
The upload page will show you that the max file size is 1 MB because that's the lower of the PHP setting (2 MB) and the $wgMaxUploadSize setting (1 MB).
Now change it to this:
$wgMaxUploadSize = 1024 * 1024 * 100; // 100 MB max upload size
Now it will show 2 MB again, because that's the lower of the PHP setting (2 MB) and the $wgMaxUploadSize setting (100 MB).
Keep in mind that the 2 MB file size is not a wiki limitation, it's universal to
all PHP forms. So if you were to create a new PHP form from scratch and try to upload a 2.1 MB file using it, the file would be rejected with a PHP error.
Here's a test scratch file you can use to test uploads. Save it anywhere as something like upload.php and give it a whirl. Without the .htaccess file, it should stop you from uploading anything larger than 2 MB. If you want to test an .htaccess file to make sure it doesn't break anything and that the web host allows .htaccess files, put this script with the .htaccess file (with the "php_value upload_max_filesize 15M" line in it) in its own subdirectory to test it out. Remember, .htaccess doesn't affect anything outside its own subdirectory and its child directories, so that's safe. The script doesn't do anything with the uploaded file, it's deleted when the script finishes running.
<html><body>
<?php if (!array_key_exists('file', $_FILES)) { ?>
<form action="<?= $_SERVER['REQUEST_URI'] ?>" method="post" enctype="multipart/form-data">
<p>
Upload file: <input type="file" name="file" id="file" />
<input type="submit" name="submit" value="Upload" />
</p>
</form>
<?php } else {
if ($_FILES['file']['error'] > 0) { ?>
<p>Error: <?= $_FILES['file']['error'] ?></p>
<?php } else { ?>
Upload: <?= $_FILES['file']['name'] ?><br />
Type: <?= $_FILES['file']['type'] ?><br />
Size: <?= $_FILES['file']['size'] ?> bytes<br />
Stored as: <?= $_FILES['file']['tmp_name'] ?><br />
<?php } } ?>
</body></html>