| FAQs [message #7927] |
Sun, 11 February 2007 13:20  |
|
|
Problem: Cannot upload files over xx in size
Solutions:
- This could be a limitation set withing PHP itself by your hosting provider.
You can find out what the settings are for your server by creating a PHP file with the following code in it:
Then save the file to your web server and access it via your browser and do a search for max_upload_size and post_max_size.
- As the other two commenters have suggested, this is indeed a
PHP setting, and has nothing to do with the phpCollab
codebase. The maximum file upload size is set in php.ini,
and is not modifiable above that via the ini_set() function.
Most shared hosts set this quite low for some protection
against rogue and poorly-written file-upload scripts. 512K
is rather lower than most (though some paranoid sysadmins
set it as low as 256K). If you need to use a larger size,
talk to your host and/or sysadmin.
- the problem might be the setting made by your hosting company.
if there is a limit set by them (of course there actually is
one) its overwriting the settings in phpcollab, because
phpcollab is running under the environment of php and has to
"follow the rules of php"
[Updated on: Sun, 11 February 2007 13:22] Report message to a moderator
|
|
|
|
| Re: FAQs [message #8158 is a reply to message #7927] |
Mon, 27 August 2007 08:03  |
bchoy
Messages: 20 Registered: August 2007
|
phpCollab guest |
|
|
Jeff,
Thanks, that was the problem - the post_max_size setting is set to 8MB which won't work. We'll see if we can get the admin to change it (out site is commercially hosted).
Thanks again!
Barry
|
|
|
|