Applicable to:
- Plesk for Linux
Question
How to change maximum attachment size for Plesk Premium Email?
Answer
Click on a section to expand
- Log in to Plesk GUI
- Go to Tools & Settings > PHP Settings and click the "by OS vendor FastCGI application" handler
- Switch to the php.ini tab and increase the "post_max_size" and "upload_max_filesize" parameter values. Press OK to apply the setting.
- Log in to Plesk GUI
- Go to Tools & Settings > PHP Settings and click the "7.0.30 by OS vendor mod_php" handler
- Switch to the php.ini tab and increase the "post_max_size" and "upload_max_filesize" parameter values. Press OK to apply the setting.
Note: if you don't have root access to Plesk via SSH, contact your hosting provider regarding the issue
-
Connect to the server via SSH
- Backup the original file
/etc/php.ini:
# cp /etc/php.ini{,_backup}
-
Increase the following options in
/etc/php.ini.
For example, to allow attachment of files with maximum size of 64 MB:CONFIG_TEXT: upload_max_filesize = 64M
post_max_size = 64M
Note: if you don't have root access to Plesk via SSH, contact your hosting provider regarding the issue
-
Connect to the server via SSH
- Backup the original file
/etc/php/7.0/apache2/php.ini
:
# cp /etc/php/7.0/apache2/php.ini{,_backup}
-
Increase the following options in
/etc/php/7.0/apache2/php.ini
. For example, to allow attachment of files with a maximum size of 64 MB:CONFIG_TEXT: upload_max_filesize = 64M
post_max_size = 64M
Comments
0 comments
Please sign in to leave a comment.