Please help - update i-MSCP to run on new system

  • Hi

    I updated my branch so the installation also runs on Devuan 2, 3 and 4 (ascii, beowulf and chimaera). The php versions are not changed (ascii+stretch <= php 7.4, the others including also php 8.0).

    Important: the installer changes some code in the install folder if needed... not very elegant but at the moment the only way to deal with the changes in the versions...

    Still not ok: installing roundcube.

    I always use a second SSH login to change the file


    as soon as it's downloaded (after entering IP/password and mail address it starts)

    Change line 128: add a "-L " after the first %s - so it looks like this:

    1. exec(sprintf('%s -L -s %s -o %s', $CURL, escapeshellarg($package['url']), $cache_file), $out, $retval);

    on my vm I have enough time to do this... then the installation finishes smoothly.

    I think it's time to add newer PHP versions to the 6 distributions.

    If someone is here doing the job for ubuntu (xenial?, bionic, focal, and maybe already jammy)... pleas go ahead!

    cheers J


    Update: now also PHP 8.1 is included in the Debian/Devuan package lists.


    Edited once, last by joximu ().

  • Hi guys

    the problem with roundcube/codemirror is solved now (thanx Nuxwin ) - I just made a new test installation....

    So the installation runs fine on the platforms mentioned above.

    On my side the next steps are testing and creating patches for the plugins...

    Have a good weekend


  • Hola,

    got phpswithcher quick & dirty running on bullseye.

    comment out /var/www/imscp/gui/plugins/PhpSwitcher/backend/ +1018

    1. # $rs == 0 or die( $stderr || 'Unknown error' );

    /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/ from line 73

    1. '7.4' => '7.4.28', # End of life: 06 December 2031
    2. '8.0' => '8.0.20', # End of life: 06 December 2031
    3. '8.1' => '8.1.7', # End of life: 06 December 2031
    4. );

    chmod 777 /etc/bind/rndc.key

    service named restart

    perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/ --register --packaged --packaged-only

  • plz change

    engine/PerlLib/Servers/ftpd/proftpd/ +492

    TLSProtocol TLSv1.2

    with recommended cyphersuite it should look like this:

    1. <IfModule mod_tls.c>
    2. TLSProtocol TLSv1.2
    4. TLSServerCipherPreference on
    5. TLSSessionTickets off
    6. </IfModule>