Updated: 28 September 2026 · Applies to: Plesk Obsidian 18.0 (and CloudLinux PHP Selector where installed)

upload_max_filesize is the largest single file PHP accepts. Raise it if uploads fail with "exceeds the upload_max_filesize directive".

Steps

  1. Log in to Plesk (the address, usually https://your-server:8443, is in your welcome email).
  2. Go to Websites & Domains, find the domain and click PHP.
  3. Set upload_max_filesize, for example 64M, and make post_max_size at least as large.
  4. Click OK or Apply.

If your server uses CloudLinux PHP Selector, you can also make these changes in its Select PHP Version page; otherwise use Plesk's own PHP settings as shown here.

Related services

Plesk server management

installation, migrations and monthly plans with no lock-in.

cPanel, Plesk and LiteSpeed licences

for VPS and dedicated servers, with installation help on demand.

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Was this answer helpful?

Still stuck? Open a ticket