Hi,
I'm trying to upload files (pdfs) on CMS to my website. When I submit I get logged out of the site and the files are not uploaded. Is there a size limit on file uploads and if so can it be edited. I want to upload files of up to 50MB in size.
Uploading files
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Uploading files
Take a look in the System Information, there you'll find upload_max_filesize
Re: Uploading files
Thanks v much, doesn't look like it can be edited
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Uploading files
No but there you can find the file upload limit.
Re: Uploading files
You'll need to know the PHP settings for upload_max_filesize and post_max_size. Depending upon your server and your host company, you can modify the values.
If you have access to the server's php.ini file, it can be modified. Otherwise, you'll need to know if you can add a php.ini file into the same directory that CMSMS is installed or if you have to modify using .htaccess.
Then, something like this in a php.ini file:
upload_max_filesize = 64M
post_max_size = 64M
Or, something like this in .htaccess:
php_value upload_max_filesize 64M
php_value post_max_size 64M
Consult your server documentation and/or host tutorials.
If you have access to the server's php.ini file, it can be modified. Otherwise, you'll need to know if you can add a php.ini file into the same directory that CMSMS is installed or if you have to modify using .htaccess.
Then, something like this in a php.ini file:
upload_max_filesize = 64M
post_max_size = 64M
Or, something like this in .htaccess:
php_value upload_max_filesize 64M
php_value post_max_size 64M
Consult your server documentation and/or host tutorials.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--