Jump to content

Close
Photo

Increasing MB per Upload


  • Please log in to reply

#1
Cybeast Falzar

Posted 22 September 2007 - 12:11 AM

Cybeast Falzar

    Advanced Member

  • Gamer
  • 131 posts
  • Gender:Male
  • Location:somewhere in the USA, not quite sure yet
If you have any trouble uploading games to your server, and have access to FTP and .htaccess is supported you can use .htaccess to increase the regular 2MB PHP upload size to anything you like (within reasonable standards though)

Use the following code and save it as .htaccess:

RewriteEngine On
php_value upload_max_filesize 4M

Upload this to your forums root directory.

This will give you 4mb upload size, you can increase it by increasing the 4M to whatever you want.

This may or may not work depending on the configuration of your server.

This was taken from another topic dealing with this, I just put it here for easier access.

#2
Killer-Bunnies

Posted 02 January 2008 - 11:06 PM

Killer-Bunnies

    Newbie

  • Gamer
  • 5 posts
Yeah I did but I f***ed up my admin cp, I followed the directions too, how can I fix this.

#3
TrueSatan

Posted 03 January 2008 - 12:30 AM

TrueSatan

    Advanced Member

  • Gamer
  • 979 posts
  • Gender:Male
  • Location:East Sussex, UK
The advice given wouldn't cause a problem with your ACP...and to reverse it simply remove the file you added.

#4
Killer-Bunnies

Posted 04 January 2008 - 02:06 AM

Killer-Bunnies

    Newbie

  • Gamer
  • 5 posts
Well it did, and I dont know how to, I think I need the original htaccess, file to fix it.

#5
TrueSatan

Posted 04 January 2008 - 03:03 AM

TrueSatan

    Advanced Member

  • Gamer
  • 979 posts
  • Gender:Male
  • Location:East Sussex, UK
I must admit I would have assumed that you would have kept a backup of it but in any case it may well be part of the installation files for the software that you use so you could resurrect it that way...or try putting in a completely empty .htaccess file as that will at least bring you back to a state where no rewrite engine is running.

In future it would be sensible for you to maintain current backups of all the files on your server...standard practice for all site owners.

#6
Killer-Bunnies

Posted 09 January 2008 - 12:01 AM

Killer-Bunnies

    Newbie

  • Gamer
  • 5 posts
Yeah its all fixed, but it never had anything in it to begin with so, I thought it was pointless to back it up, but yeah Im not the owner of the site anyway, just a manager. So im just gona ask my friend that knows more about it then I do to do it.

#7
DracoStraybyrn

Posted 27 August 2008 - 10:52 AM

DracoStraybyrn

    Advanced Member

  • Gamer
  • 39 posts
  • Gender:Male
F'ed up my site and gave me a 500 when I tried it. HostMonster and IPB 2.3.4.



monstermaster52 (11:37:59 PM): It's not rape if you shout surprise
staticx5730 (11:38:04 PM): WHAT?
monstermaster52 (11:38:09 PM): lol
staticx5730 (11:38:13 PM): DUde
staticx5730 (11:38:18 PM): I COULD GET AWAY WITH SO MUCH




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users