Plesk

Unable to log in to Plesk or upload files via Plesk File Manager or applications: The file is too big

Symptoms

Cause

Low values of directives post_max_size and upload_max_filesize is specified either in Plesk php.ini or in the domain settings.

Resolution

Change the necessary values

On server-wide level

  1. Connect to the server via SSH

  2. Open the file /usr/local/psa/admin/conf/php.ini in a text editor and specify limits for post_max_size and upload_max_file size in bytes.

    Note: The default value is 2147483647 (2GB):

    # egrep 'post_max_size|upload_max_filesize' /usr/local/psa/admin/conf/php.ini
    post_max_size = 2147483647
    upload_max_filesize = 2147483647

  3. Restart the psa service:

    # service psa restart

  4. Log out from Plesk UI and Log in again to apply changes.

For a specific domain

  1. Log into Plesk
  2. Go to Domains > example.com > PHP Settings
  3. Adjust upload_max_filesize and post_max_size values:
  4. Click the OK button