Loading...
 
Skip to main content

Features / Usability


Maximum file size for page attachment

posts: 50

I'm trying to attach pdf's to a page in Ver 3.0 but can't attach anything larger than 1Mb.
I have revised php.ini file and changeg max_upload_size = 8M but no luck.
Any other settings to change ?

posts: 496

Hi!

If you can control php settings I think it is good to make sure the followings are set to have Tiki working smoothly:

Filesize stuff:

  • upload_max_filesize - for file uploading
  • post_max_size - for file uploading


Give enough memory:

  • memory_limit - for general purpose, I have it on 128mb but 64mb is also good


Also give enough time for the scripts:

  • max_execution_time - 60 should be enough
  • max_input_time - 60 should be enough


and if you store attachments in db also at mysql settings give enough time to execute

  • mysql.connect_timeout - I usually set it to -1 which makes it unlimited


Of course set values depend on your server capabilities and also what else is using its resources..
Hope it helps,
cheers,
Gezza


posts: 50

Tried above but no luck.
Attached find my PHP.ini file if it helps.


posts: 496

Did you restart apache?

cheers,
gezza


posts: 50
Yep.