Re: [Tiki-users] Maximum file upload size

Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> Mon, 09 Jan 2023 17:58:21 +0100
Newsgroups gmane.comp.cms.tiki.user
Message-ID <[email protected]>
Am Montag, dem 09.01.2023 um 16:47 +0000 schrieb Jonny Bradley via TikiWiki-
users:
> Hi Volker
> 
> I just tried this on my local and set upload_max_filesize and post_max_size to 1G and tiki-upload_file.php now says:
> 
> > Maximum file size is around: 1,024 MB
> 
> So maybe your hosting service has an extra limit set somewhere? (i didn't test it with a 1GB file here though ;)

My hosting service, that's me.  :-)  I'm using Tiki as a desktop wiki. This
might seem like overkill to some people, but neither MoinMoin nor DokuWiki
have embedded databases (trackers). Or structures, or ...

Btw. the first version of my MoinMoin-to-Tiki migration program is almost
done and ready for release.

Bye,
Volker

> 
> jonny
> 
> 
> > On 5 Jan 2023, at 14:58, Volker Wysk <post-hhF2Jplw28UoZk/[email protected]> wrote:
> > 
> > Hi
> > 
> > I tried to upload an attachment, but that silently failed. No error message.
> > 
> > When I tried to upload to a file gallery instead, but it also silently
> > failed. But there was a note at the bottom, saying that the maximum upload
> > size is "about" 2 MB. That's pretty low.
> > 
> > I searched the Tiki (25) settings for a maximum upload file size, but with
> > no success. Then it occured to me, that this might be a PHP limit. And yes,
> > I found the setting "upload_max_filesize" in /etc/php/7.4/apache2/php.ini,
> > which was 2 MB.
> > 
> > I changed that to a gigabyte (I use Tiki as a desktop wiki here). But then
> > the maximum upload size was shown to be 8 MB. No more.
> > 
> > Then I found the post_max_size PHP-setting, and set that to 1 GB. Then the
> > maximum upload size was shown to be 38 MB. No more. I couldn't find another
> > PHP setting, which causes this.
> > 
> > Is there such a PHP or Tiki setting, which sets the limit to 38 MB?
> > 
> > And, I think a failed upload, caused by an exceeded maximum file size,
> > should result in a proper error message.
> > 
> > So far,
> > Volker
> > 
> > _______________________________________________
> > TikiWiki-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
> 
> 
> 
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users

_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmO8R60ACgkQ+K4ydFOs
HoVWJhAAooc+RUuAywO7r3d6o1VAE8qVvDxf3RmcXDkKn7A44a7hbMtiQtTznqXQ
Ike29jfk/r5TihDzDzV3Xt6GBbevepBYCTpDKpw5BxN19FtFU/bm1sf2EvGVA15p
b0tFvDjMfh8QrzFYALkK1swqfdWx7L5fFb/qOcKjTnbcGBcazbf/alyNXpuGRWdF
zwkyRmN1Qj21Hr0o9jfRFMZAjerFbVQ4IOXSDWg2d1sqzuRd6hOBhfzctoT9jLZj
QjPDo5+WWSS+rTZr7z2XSVs4LcLnXvUXFLFlYmBym0gTlhMrsUgbl8s+2aL2lDdJ
zu5ZZIR5h1matuaT/dG63BU4Klb6lmzlLt6t2PL+mwrdzHqv19TjxjPCb9Xzs5rI
kazGBOpaO9PolDpG/j+EGUhde95eeag/aKCw01A6ReiqJ9R2dI+vxRqAKQPnocSb
CPX/yhm1RC4yMWwn3cBZVG+0LMBuP1iTzqzR3bye0ri+SqiEqnrX4BdsmEA5ybUE
R2BJzC22q5gtyYEAPHICbLtTR8o+ogsVN2dAGCa6C1AcB2cslAEMplDW/DTFV79W
VdeKTB0ksEtY2dqtiOu3gOx76BjVsfLWdBMey6nPU5WXxpx3GQPXxjlS3y2nHQG0
PSiBNg9gE5ZqTiWIkoWBPDWpaxe+yGJb0YWxXfbHSl6y3AhJzCg=
=25VB
-----END PGP SIGNATURE-----