The-Kevster Posted May 21, 2004 Posted May 21, 2004 Hi, I've just installed a file attatchment mod to my phpbb2 website and i am unable to upload files over 2 meg, could anyone tell me if TCh have a PHP upload limit of 2 meg and i fi could get it raised to 10 meg? thanks in advance The Kevster Quote
The-Kevster Posted May 21, 2004 Author Posted May 21, 2004 Moving for organization and better exposure. does that answer my question? Quote
TCH-Bruce Posted May 21, 2004 Posted May 21, 2004 No, that doesn't answer your question. I don't know the answer and someone will be along to answer if they do. I just moved the post to a better forum for organization. Quote
MikeJ Posted May 21, 2004 Posted May 21, 2004 (edited) Hi Kevster, PHP itself has a 2 meg limit by default. You can change this default in your .htaccess file. Just put in your .htaccess file in your public_html directory (or the top directory of your forum software) the following line: >php_value upload_max_filesize 10M That would change the max file size allowed to 10 megs. Change the 10M if you decide you want a different file size allowed. Edited May 21, 2004 by TCH-MikeJ Quote
The-Kevster Posted May 21, 2004 Author Posted May 21, 2004 No, that doesn't answer your question. I don't know the answer and someone will be along to answer if they do. I just moved the post to a better forum for organization. Sorry for posting in the wrong place, i couldn't see you'd moved it as i just followed a link in my email Quote
TCH-Bruce Posted May 21, 2004 Posted May 21, 2004 Sorry for posting in the wrong place, i couldn't see you'd moved it as i just followed a link in my email No problem. That's what we as Mods are supposed to do. Quote
The-Kevster Posted May 21, 2004 Author Posted May 21, 2004 Hi Kevster, PHP itself has a 2 meg limit by default. You can change this default in your .htaccess file. Just put in your .htaccess file in your public_html directory (or the top directory of your forum software) the following line: >php_value upload_max_filesize 10M That would change the max file size allowed to 10 megs. Change the 10M if you decide you want a different file size allowed. That work brillently, thank you, 10/10! Quote
borfast Posted May 22, 2004 Posted May 22, 2004 Just in case you need to know more stuff about the PHP configuration in your server, you can create a PHP file with the following contents: <?php phpinfo(); ?> When you access that file, it will give you all the info about how PHP is configured Quote
llama_thumper Posted May 8, 2010 Posted May 8, 2010 I've installed wordpress and came across the same error. i put in an .htaccess file in my upload directory, saying php_value upload_max_filesize 60m. When I try to upload though I still get a message saying that the upload is limited to 8mb. Any possible reason for that? Quote
TCH-Thomas Posted May 8, 2010 Posted May 8, 2010 I would submit a ticket with the help desk and ask them to look into it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.