Short answer

The maximum attachment size depends on the web stack used by a self-hosted Sanplex installation. The Windows one-click installer defaults to 50 MB, while self-configured PHP defaults to 2 MB and Nginx defaults to 1 MB.

In this article

Check every layer

An upload must fit within the limits set by all active web-stack components. Review Apache, PHP, Nginx and Windows package settings together instead of changing only one value.

Windows one-click installer

  • The default maximum attachment size is 50 MB.
  • Update post_max_size and upload_max_filesize in xampp/sanplex/www/.htaccess, xampp/runner/res/htaccess/default.access and pro.access.
  • If the team regularly works with larger documents, store them on a shared drive and add the access link in Sanplex.

Self-configured PHP

  • PHP defaults to a 2 MB maximum.
  • Update post_max_size and upload_max_filesize in php.ini.
  • Restart Apache after changing the PHP configuration.

Nginx or Nginx reverse proxy

Increase client_max_body_size in the Nginx configuration, then restart Nginx. The default Nginx value is 1 MB.

Important: Set the same effective limit at every layer. A higher PHP limit will not help when Apache, Nginx or another proxy still rejects the upload.