Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I can't change it to attach files larger than 2 Mb, therefore, how can I increase that?

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
This is the only information I can find about this:

Attachments Tab

The option to attach files to postings will not be displayed on the board until the Attachments function is fully configured. To do this, you must first create an attachment storage directory on your server, give it full permissions (0777 on Unix), and add the path to this directory to the Attachment Storage Directory field.

Then, include the URL to the directory in the Full URL to Attachment Storage Directory field. Defaults have been set for the Allowed Attachment File Extensions (note that these extensions are not accepted: .php, .php3, .php4, .cgi, .pl, .exe, .bat, .reg) and the Maximum Attachment Size, but you may wish to change these.

Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Might be your host set it to 2mb
You can run phpinfo from the ubb control panel.
Look for upload_max_filesize.
That will tell you what php is set for.
Some hosts will increase it for you or allow you to set it in php.ini


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
It says this in my Admin CP:

If file attachments are enabled in the forum, this dictates how large each file attachment can be. Max size set in php.ini is 2M so you may not exceed this size.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ruben is correct. It will not allow you to set it any higher than what is allowed in your php.ini file.

Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Then you need to call your host to see if they will increase it.
They should be able to tell you yea or nay.
Some hosts allow you access to php.ini and some don't.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2003
Posts: 6,649
Likes: 88
Joined: Dec 2003
Posts: 6,649
Likes: 88
Originally Posted by Daryl Fawcett
It says this in my Admin CP:

If file attachments are enabled in the forum, this dictates how large each file attachment can be. Max size set in php.ini is 2M so you may not exceed this size.
Just to be clear.
PHP.ini has nothing to do with ubbthreads. It is a config file for php. UBB just reads the setting and displays it for you.
Quick note. I looked at bluehost. I assume that is where you are hosted and you should be able to adjust the settings yourself.(From what I can tell)


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Yes, I am at bluehost, and I will log in to see if I can change it myself.

Thank you.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)