HowTo: I-MSCP 1.5.3 installation on Debian 10

  • It is not really difficult to install I-MSCP stable on Buster ...

    I use PHP 7.0 with phpswitcher, mariadb 10.3 MUST be selected.

    - install debian 10

    1. nano /usr/local/src/imscp-1.5.3-2018120800/autoinstaller/Packages/debian-buster.xml


    Important note:

    During the setup mariadb 10.3 MUST be selected, if the software installer is to be used PHP 7.0 must be installed as the default PHP version.


    1. perl imscp-autoinstall -d

    install PHPswitcher plugin

    install packaged PHP versions for PHPswitcher

    1. sudo apt install php7.4 php7.3 php7.2 php7.1 php7.0 php7.4-cli php7.4-cgi php7.4-fpm php-pear php7.4-soap php7.4-xmlrpc php7.4-curl php7.4-sqlite3 php7.4-mbstring php7.4-gd php7.4-json php7.4-imap php7.4-iconv php7.4-pspell php7.4-gmp php7.3-cli php7.3-cgi php7.3-fpm php-pear php7.3-soap php7.3-xmlrpc php7.3-curl php7.3-sqlite3 php7.3-mbstring php7.3-gd php7.3-json php7.3-imap php7.3-iconv php7.3-pspell php7.3-gmp php7.2-cli php7.2-cgi php7.2-fpm php-pear php7.2-soap php7.2-xmlrpc php7.2-curl php7.2-sqlite3 php7.2-mbstring php7.2-gd php7.2-json php7.2-imap php7.2-iconv php7.2-pspell php7.2-gmp php7.1-cli php7.1-cgi php7.1-fpm php-pear php7.1-soap php7.1-xmlrpc php7.1-curl php7.1-sqlite3 php7.1-mbstring php7.1-gd php7.1-json php7.1-imap php7.1-iconv php7.1-pspell php7.1-gmp php5.6-cli php5.6-cgi php5.6-fpm php-pear php5.6-soap php5.6-xmlrpc php5.6-curl php5.6-sqlite3 php5.6-mbstring php5.6-gd php5.6-json php5.6-imap php5.6-iconv php5.6-pspell php5.6-gmp php7.1-curl php7.1-gd php7.1-imap php7.1-json php7.1-mysql php7.1-opcache php7.1-readline php7.1-xml php7.1-xmlrpc zip unzip php7.1-zip php7.2-curl php7.2-gd php7.2-imap php7.2-json php7.2-mysql php7.2-opcache php7.2-readline php7.2-xml php7.2-xmlrpc php7.2-zip php7.2-intl php7.3-curl php7.3-gd php7.3-imap php7.3-json php7.3-mysql php7.3-opcache php7.3-readline php7.3-xml php7.3-xmlrpc php7.3-zip php7.3-intl php7.4-curl php7.4-gd php7.4-imap php7.4-json php7.4-mysql php7.4-opcache php7.4-readline php7.4-xml php7.4-xmlrpc php7.4-zip php7.4-intl php7.0-curl php7.0-gd php7.0-imap php7.0-json php7.0-mysql php7.0-opcache php7.0-readline php7.0-xml php7.0-xmlrpc php7.0-zip php7.0-intl php5.6-curl php5.6-gd php5.6-imap php5.6-json php5.6-mysql php5.6-opcache php5.6-readline php5.6-xml php5.6-xmlrpc php5.6-zip php5.6-intl php7.0-imagick php7.1-imagick php7.2-imagick php7.3-imagick php7.4-imagick php5.6-imagick php-net-smtp php7.1-dev php7.2-dev php7.3-dev php7.4-dev php7.0-dev php5.6-dev
    2. perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/ --register --packaged --packaged-only
    3. cd /
    4. perl /var/www/imscp/engine/setup/ -dv
    5. /var/www/imscp/engine/setup/imscp-reconfigure -danv
  • if a dialog box (mysql user configuration) should appear during the installation you can simply click the back button to continue or intall mariadb 10.3 before the imscp installation:

    1. apt update && apt install mariadb-server -y
    2. mysql_secure_installation

    Edited once, last by fulltilt ().

  • Thanks, I setup everything in a VMware and it worked perfectly. I have now done the upgrade on production without any serious trouble. For some reason, sslcompression is not supported, I had to disable it in order to get apache2 firing up.

    1. SSLCompression
    2. This version of OpenSSL does not have any compression methods available, cannot enable SSLCompression

    Further, MariaDB 10.4 upgrade worked, too. So, on first sight, everything worked besides SSL compression.

    Does anybody of you know that error with OpenSSL?

  • Thanks for the Apache link, didn't find it myself.

    However, I have some issues with LetsEncrypt using Debian 10

    1. Traceback (most recent call last):
    2. File "/usr/local/sbin/certbot", line 6, in <module>
    3. from certbot.main import main
    4. File "/opt/", line 5, in <module>
    5. import logging.handlers
    6. File "/usr/lib/python2.7/logging/", line 26, in <module>
    7. import sys, os, time, cStringIO, traceback, warnings, weakref, collections
    8. File "/usr/lib/python2.7/", line 14, in <module>
    9. from _weakref import (
    10. ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/ line 834.

    I am not a Python programmer and I do not now the codes behind LetsEncrypt. Can anybody of you help?

    The GUI is not working (buttons etc).

  • Wow, thanks!

    Uncommenting that line made my GUI work again. Still, I got an error about Python packages.

    I was able to fix them following the URL…ails-after-upgrade.77911/

    After that, I was able to trigger the process via I-MSCP GUI with success!

    Looking forward to the next upgrade problem :-)

  • Hi, I followed the instructions, it worked like a charme.

    Installing Plugins was possible, too.

    But: I cannot create folder access control, and switching the language is not possible, it stays on "browser detected" (Automatisch (Browsereinstellung)).

    Has anybody experienced similar problems?

    Edit: Even worse: The same error when I try to change the document root, but I need that to deploy a symfony based project I'm writing for a customer.

    I'll try to change it in the Apache conf, but that will break anytime I update something via panel.

    Edited once, last by tracer ().