Disable open_basedir in plesk server

open_basedir is a PHP security feature. With open_basedir enabled, your web application can only access files within specifically allowed folders. If your application tries to access files from a folder that is not allowed, the application fails with an error message. To disable open_basedir in Plesk do the following. Login to your Plesk Control Panel. […]

Read More…

Nginx upstream sent too big header

Plesk Nginx

When I log in to a PrestaShop website, I get an error on a Plesk server.

On checking error login for the site in folder /var/www/vhosts/domain.com/logs/proxy_error_log, I found the following error message proxy_error_log:2020/11/25 19:41:41 [error] 1809#0: *39664 upstream sent too big header while reading response header from upstream, client:, server: tulivesi.com, request: “POST […]

Read More…

Plesk Mail not working amavis error

When sending email from a Plesk server, i get error

This is beccause amavis service is not running. It is supposed to be run in port 10024 When i try to start amavis service, i get error

This is becuase Perl DBI module was missing. On Ubuntu server, i found the package that […]

Read More…

Uninstall ImunifyAV on Plesk Server

Uninsall Plesk Extension

ImunifyAV is a free antivirus for Linux Server. On a Plesk server, i installed paid version of ImunifyAV. Now plesk shows both paid and free versions.

To remove free version of ImunifyAV, run

See Plesk Server […]

Read More…

Plesk mail not working 10024: Connection refused

On a Plesk mail server, when sending/reciving email, it fail with following error in /var/log/maillog

To fix, reinstall email-security extension.

Verify mail works. If all good, you can reinstall the Plesk mail security extension from Plesk admin

If its mail configuration issue, you can run

Plesk Mail not working amavis error […]

Read More…

How to enable gzip on Plesk Nginx

To enable gzip on Plesk server with Nginx proxy, go to

Click on the domain for which you need gzip compression enbaled. click on “Apache & nginx Settings”. On next page, scroll down, add following to “Additional nginx directives” text box.

To verify gzip is working, you can open a file directly in […]

Read More…

Plesk Change Backup Location

Plesk License Number

By default, Plesk store backups in folder /var/lib/psa/dumps/. To move this to a differnt partition or directory, create a folder

Edit file


Replace with

Move old backup to new location

Remove old backup directory, here i rename it to dumps-old, you can delete it.

Restart Plesk

Related […]

Read More…

Plesk move vhosts folder

Plesk use /var/www/vhosts folder to store sites. On some servers this folder will be on smaller partition. Say you have all disk space on partition /home, in such cause, you can use following command to move web site files to /home folder with following command.

/home/ = you can replace this any any folder […]

Read More…

Install PHP 5.6 on Debian 9 Plesk Server

Plesk License Number

To install PHP 5.6 on Debian 9 Plesk Server, add sury.org repository

Install PHP 5.6 with apt

Optional: Enable PHP 5.6 as default CLI

This will show all available PHP version, select the default version for command line. Enable PHP 5.6 in Plesk


Read More…