Plesk License Number

Install PHP 5.6 on Debian 9 Plesk Server

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

Install MagicSpam on Plesk

MagicSpam is an anti spam filter for Plesk and DirectAdmin servers. You can purchase MagicSpam from

https://www.magicspam.com

To install MagicSpam, upload the zip file you get to /root/ folder of your server and run

Example

Plesk MagicSpam

Install Redis on Plesk Debian Server

To install Redis on Plesk Debian/Ubuntu server, run

Now install PHP Modules

After installing, you will see redis listed in phpinfo() page.

Redis PHP Debian

Plesk License Number

Find Plesk Version

To find Plesk version, login to server as user root SSH and run

Example

Plesk License Number

Plesk Install PHP

To install differnt version of PHP in plesk server, run

This will list available PHP versions to install.

To install PHP 5.3, run

To install PHP 5.6, run

See Plesk

Plesk MySQL upgrade 5.1 to 5.5

When trying to restore a database backup taken on MariaDB 5.5.56 on a Plesk server running MySQL 5.1, i get error

[[email protected] ~]# mysql admin_dollsweb < admin_dollsweb.sql ERROR 1273 (HY000) at line 25: Unknown collation: 'utf8mb4_unicode_ci' [[email protected] ~]#

This is because MySQL 5.1 do not support utf8mb4_unicode_ci.

Solution 1

You can find and replace utf8mb4_unicode_ci with utf8_general_ci

One problem with this is you may lose some characters if the DB use the new charsets supported by utf8mb4_unicode_ci. utf8mb4_unicode_ci For most sites these won’t be a problem. utf8mb4_unicode_ci support latest emoji chars.

Solution 2

Upgrade MySQL to version 5.5 or newer.

On Plesk server, do the following steps

When asked, type “yes” to enable the repo.

Upgrade MySQL with

Restart MySQL

Upgrade MySQL database with

Plesk Nginx fail to start on boot

On a Debian Server with Plesk Control Panel, Nginx did not start on boot.

On checking status, i get

/var/log/nginx/error_log had following error

2018/01/22 18:30:19 [emerg] 700#0: bind() to 82.211.1.93:80 failed (99: Cannot assign requested address)

Solution

Edit nginx.service file

Find line

Add above (on a new line)

Find

Replace with

Reload service file

Here is my modified nginx.service file

plesk