Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: pothead - helmikuu 08, 2008, 02:11:12 IP

Otsikko: size update??
Kirjoitti: pothead - helmikuu 08, 2008, 02:11:12 IP
is there a way to increase the attachment file?

its set at :2147483647kb for folder space.
i like to down load mp3 file like a song which is
usually 5mins...average  no i have about 2 mins..
not enough...

help? or is this fixed?

aloha
Otsikko: Re: size update??
Kirjoitti: metallica48423 - helmikuu 08, 2008, 03:16:40 IP
do you realize how much space that is? its over 2 terabytes! divide that number by 1000 twice and you have 2147 gigabytes. which is probably more hard disk space than you have on your hosting  :p. what problem are you having?
Otsikko: Re: size update??
Kirjoitti: pothead - helmikuu 08, 2008, 04:20:02 IP
well with my prior web page i was able to down load 5 mins of mp3 music...
... im a musician and record to mp3... jus wanted something more direct than
having to use a url with mp3 files...

so.. i do know how much memory this is and why cant we upgrade it? is it set..?
i dont  have a big volume of members were small time.. lol..
i have a flash mp3 player but i have to do all the set ups..for the site..
it would be nice to have other musicians to add their own music files..

any advise or links is appreciated.

thank u



Otsikko: Re: size update??
Kirjoitti: metallica48423 - helmikuu 08, 2008, 05:10:41 IP
can you put this into a file called phpinfo.php and upload it to somewhere publically accessable, then link to it? 


<?php phpinfo(); ?>


By default, PHP limits uploads to 2 Megabytes -- this isn't an smf limit but a limit on the module which parses the files our software is made of.

But lets see what your phpinfo says first.
Otsikko: Re: size update??
Kirjoitti: MerlinLAir - helmikuu 12, 2008, 12:05:58 IP
I agree, the size of the upload attachments need to be increased. Anyone know how to do this?
Otsikko: Re: size update??
Kirjoitti: metallica48423 - helmikuu 12, 2008, 02:45:54 IP
If you're truly being limited by PHP's file size limit, you'd need to have your host do it unless you have access to php.ini.

the attribute in question is upload_max_filesize. Default on it is 2 Megabytes maximum for files uploaded via PHP

In many cases you can be limited by the max_execution_time as well, as the script wouldn't be able to finish before the time because of the upload still in progress.  Default on that is 30 Seconds
Otsikko: Re: size update??
Kirjoitti: rsw686 - helmikuu 13, 2008, 02:19:15 IP
Lainaus käyttäjältä: BlackMage - helmikuu 12, 2008, 02:45:54 IP
If you're truly being limited by PHP's file size limit, you'd need to have your host do it unless you have access to php.ini.

You can also try to use php_value upload_max_filesize 5M in your .htaccess file.
Otsikko: Re: size update??
Kirjoitti: metallica48423 - helmikuu 13, 2008, 04:10:32 IP
True.  If that doesn't work, your forum probably wont either.  Just remove it and it should be back to where it was