How to increase upload file limit for Plesk Linux

By default, PHP limits uploaded files' size to 2 MB. This limit applies to all PHP applications including Webmail.

To change this log onto the server via SSH and edit the following options in the /etc/php.ini file.

(If you have changed the default php.ini file for a site then that is the one you will need to edit)


upload_max_filesize = 32M


post_max_size = 32M


Once you have made these changes, save the file and reload (not restart) the http service.


CentOS - `/etc/init.d/httpd reload`


Debian/Ubuntu - `/etc/init.d/apache2 reload`


  • Plesk, linux, File Limit
  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

How to retrieve the Plesk admin password

You can retrieve your Plesk admin password by logging on to the server via SSH and running one of...

Disable "open_basedir" when using Plesk.

open_basedir is a security measure for PHP, however it can cause numerous problems with your...

Enable Passive FTP Plesk

This guide explains how to enable passive FTP transfer mode on servers with Plesk.Part 1 -...

Plesk Log in to MySQL as root admin in Linux

To log into MySQL as root user on a Plesk server, you will need to specify the username "admin"...