Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 29 Mar 2009, 12:47
dmknights dmknights is offline
 
Join Date: Jul 2007
Real name: Darren
Question Making attachment file size bigger?

Can anyone help me out on this?

Ive done the normal stuff in attachment manager

Set the bytes size to what i want
allowed for usergroups

etc etc

but the upload limit remains the same

I want to have an upload limit of 10MB for a zip file but its staying at 5.25MB

Any ideas?
Reply With Quote
  #2  
Old 29 Mar 2009, 13:30
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
admincp --> maintenance --> view php info

What do these two variables state?
post_max_size ?
upload_max_filesize ?

You will most likely have to change those variables to a higher number ie
post_max_size 15M
upload_max_filesize 15M

Then HUP/Restart apache.

If you dont have root access to restart apache, you can try using a local php.ini file with this in it, thats if your host allows local php.ini override by clients, upload php.ini to your public_html/root folder.

post_max_size=15M
upload_max_filesize=15M

As well you host may allow php_flag in a htaccess file.
edit .htaccess and add the following to it.
php_flag post_max_size 15M
php_flag upload_max_filesize 15M

Last edited by snakes1100; 29 Mar 2009 at 13:36.
Reply With Quote
  #3  
Old 29 Mar 2009, 16:39
dmknights dmknights is offline
 
Join Date: Jul 2007
Real name: Darren
this is what my php info says:

post_max_size 8M
upload_max_filesize 2M

My php.ini file has max file upload of 60MB

ideas?
Reply With Quote
  #4  
Old 29 Mar 2009, 16:47
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Real name: Anthony
You have to change both, not just one, also i stated your host may not allow local php.ini file over ride.
Reply With Quote
  #5  
Old 29 Mar 2009, 16:55
dmknights dmknights is offline
 
Join Date: Jul 2007
Real name: Darren
i said that is what my php INFO said!

NOT my php.ini

this is what my php.ini contains:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 29 Mar 2009, 17:20
Seven Skins's Avatar
Seven Skins Seven Skins is online now
 
Join Date: Sep 2008
Put one edited php.ini in forum root and one in admincp folder I done that in someones forum and problem was sorted.
Reply With Quote
  #7  
Old 29 Mar 2009, 17:42
dmknights dmknights is offline
 
Join Date: Jul 2007
Real name: Darren
put them in both root & admincp folder

Still no difference
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:25.

Layout Options | Width: Wide Color: