Upload file size | |
If your Tiki is hosted by an ISP, you'll need to find out how set the maximum upload size. If you have command line access, you'll need to adjust some parameters setting in your server's php.ini file. The example below shows an maximum upload size of 10 megabytes. Copy to clipboard
If you can not change your php.ini, you can modify your .htaccess by adding these lines Copy to clipboard
If you change your php.ini, You will need to re-start your apache or other webserver for the change to take effect. On IIS 7.0 the max upload filesize is 30MB. Update the Windows ApplicationHost.config file to adjust the max limit. For details, please check |
If you are storing your files in the database, you need to check this MySQL variable: | |
max_allowed_packetThis variable can be located in the "my.ini" file as shown in the figure below. "C:/Program Files/MySQL/MySQL Server 5.1/my.ini" If you can't find a my.ini file, look for "/etc/my.cnf" instead.
Open the "my.ini" file and find the [[mysqld]] section. If there is not already an entry for your "max_allowed_packet" variable, then add one as shown Make sure that you have enough storage allocated to your database to handle the size of your files! Once you have added an entry to set this variable as in the figure above, save Again, on a typical Windows development box, you can locate your "mysql" service
You can use the phpMyAdmin console to check the value of your "max_allowed_packet" variable. Select the "Variables" tab on the main phpMyAdmin screen. Scroll down until you find the
|