PHPswitcher 5.0.5. Error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory

  • Hi,


    Recently I updated PHPSwitcher to 5.0.5 when I run

    Code
    1. perl /var/www/imscp/gui/plugins/PhpCompiler/php_compiler.pl --verbose --register 5.6 7.0 7.1 7.2 7.3 7.4

    I receive some errors like:

    Run php_compiler.pl one by one, I could reinstall 7.0, 7.1 & 7.2, but 7.3 & 7.4 shows on imscp UI:

    Code
    1. Couldn't get PHP version through the '/opt/phpswitcher/static/php7.3/bin/php-cgi' executable: /opt/phpswitcher/static/php7.3/bin/php-cgi: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory


    On Debian stretch, I-MSCP

    i-MSCP 1.5.3

    Build: 20180516

    Codename: Ennio Morricone


    All this was runned after:

    Code
    1. apt-get update && apt-get dist-upgrade
  • Update your i-MSCP installation first.


    As per our rules, no supports if not the latest installed (2018120800)


    (And your error is related to APT, not i-MSCP. You might have some broken packages installation, fix this too)