Attatchments
Forum rules
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
Discuss features as they are added to the new version. Give us your feedback. Don't post bug reports, feature requests, support questions or suggestions here. Feature requests are closed.
-
- Posts: 13
- Joined: Fri Aug 04, 2006 5:45 pm
Attatchments
How can I make the attatchment size greater?
- robertmf
- Registered User
- Posts: 52
- Joined: Wed Jul 23, 2003 5:20 pm
- Location: In PA, 55 min. via commuter RR outside Filthadelphia
- Contact:
Re: Attatchments
antonio_424 wrote: How can I make the attatchment size greater?
ACP -> [BOARD CONFIGURATION] -> [ATTACHMENT SETTINGS]
-
- Posts: 13
- Joined: Fri Aug 04, 2006 5:45 pm
Re: Attatchments
Hmm......well I changed that already once before.....
Well it gives me an error that the limit is still 2MB and that it is set in the php.ini file I guess...
Hmm.....anyone know where that specific file is lol
Well it gives me an error that the limit is still 2MB and that it is set in the php.ini file I guess...
Hmm.....anyone know where that specific file is lol
-
- Registered User
- Posts: 653
- Joined: Wed Sep 21, 2005 3:01 pm
Re: Attatchments
you want to have a file called phpinfo.php (well, the file name is not that important) which contains the following code:create this file, and load it to your browser. look for:
Configuration File (php.ini) Path
upload_max_filesize
and
post_max_size
it is a little odd tidbit of information that requires some digging in the documentation, but the maximum possible file upload size is the smaller of the two values: "upload_max_filesize", and "post_max_size", so you want to increase both of them.
note that after changing the values in php.ini, you will need to tell php to reload it. there are several ways of doing it, but maybe the simplest one is to restart the http server.
hope it helps.
Code: Select all
<?php phpinfo(); ?>
Configuration File (php.ini) Path
upload_max_filesize
and
post_max_size
it is a little odd tidbit of information that requires some digging in the documentation, but the maximum possible file upload size is the smaller of the two values: "upload_max_filesize", and "post_max_size", so you want to increase both of them.
note that after changing the values in php.ini, you will need to tell php to reload it. there are several ways of doing it, but maybe the simplest one is to restart the http server.
hope it helps.
-
- Posts: 13
- Joined: Fri Aug 04, 2006 5:45 pm
Re: Attatchments
Thanks for the help man!
What sucks is I probably won't raise it lol Too bad I can't change it using the forum ACP
What sucks is I probably won't raise it lol Too bad I can't change it using the forum ACP
-
- Registered User
- Posts: 653
- Joined: Wed Sep 21, 2005 3:01 pm
Re: Attatchments
some more digging:
the default value for post_max_size is 8M, the default for upload_max_filesize is 2M.
both of these values can be changed per directory, via .htaccess (providing that the global AllowOverride is on).
neither of them can be changed via ini_set() call.
the default value for post_max_size is 8M, the default for upload_max_filesize is 2M.
both of these values can be changed per directory, via .htaccess (providing that the global AllowOverride is on).
neither of them can be changed via ini_set() call.
-
- Registered User
- Posts: 136
- Joined: Mon Feb 07, 2005 5:09 pm
Re: Attatchments
And assuming you're using Apache....code reader wrote: changed per directory, via .htaccess (providing that the global AllowOverride is on).
neither of them can be changed via ini_set() call.
You don't need to make a phpinfo() file, there's one in the ACP already. Can't remember where, but it's just a link you click.
- Highway of Life
- Registered User
- Posts: 1399
- Joined: Tue Feb 08, 2005 10:18 pm
- Location: I'd love to change the World, but they won't give me the Source Code
- Contact:
Re: Attatchments
The 2MB is an Apache limit, you would have to change it Apache side, if it won't allow you to change it via .htaccess
Some servers have different limits, for instance, I set mine just a tad higher to allow bigger download files to be uploaded.
Some servers have different limits, for instance, I set mine just a tad higher to allow bigger download files to be uploaded.
Re: Attatchments
No the 2MB limit is normally a limit set in php.ini, and not in the apache configuration.
- Chris Archer
- Registered User
- Posts: 27
- Joined: Fri Apr 07, 2006 7:51 am
Re: Attatchments
You can change PHP settings via .htaccess if your apache has mod_php or mod_suphp installed.
The mirror never sees itself.
The reflection never is itself.
The reflection never is itself.