Pure Software Knowledge Base Glossary    Contact Us
 
   
Browse by Category
Pure Software Knowledge Base > Lore > Troubleshooting > How do I attach large files to articles?

How do I attach large files to articles?

There are a number of variables in PHP and your web server that limit the maximum size of file uploads. Most of these are PHP variables that can either be changed in the server's php.ini file, or in the .htaccess file in the main Lore directory. The following PHP settings are related to maximum file upload size:
  • post_max_size
  • upload_max_filesize
If your web server supports it, you can simply uncomment (remove the # in front of) the following lines in the .htaccess file in the main Lore directory:

#php_value post_max_size 10M
#php_value upload_max_filesize 8M

This would enable file uploads up to 8 megabytes. You can change the values as well (ex: 16M would allow 16 megabyte uploads). Make sure to set the post_max_size value as high or higher than the upload_max_filesize value.

If your web server does not support changing php values in .htaccess files, you can change them in your server's php.ini file, though this will affect all PHP scripts on the server, not just Lore.

Note: There may be additional limits on maximum post size that are set by your web server. You should consult your web server documentation if changing the PHP settings does not solve the problem.



Keywords: limit uploads size files attachments file attachment

How helpful was this article to you?

Related Articles

How many articles/categories can Lore handle?
Lore itself supports an unlimited number of articles and categories....

 

User Comments

No comments have been posted.


powered by Lore