PhpSwitcher errorMessage When enabled For PHP 7.1

  • PHP
    1. iMSCP::File::get: Could not open /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/templates/php/7.1.ini for reading: No such file or directory Plugin::PhpSwitcher::overridePhpTemplates: Could not read `/var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/

    my System :

    - Distribution: Debian | Release: 9.13 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), SpamAssassin (v 2.0.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)YubiKeyAuth 1.1.0

  • Oups, I forgot to provide that file. I'll release a new version in few minutes ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Speddy



    Awaiting the new version you can fix the problem by running the following command:


    Shell-Script
    1. # cd /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/templates/php
    2. # cp -p 7.0.ini 7.1.ini

    Once done, change the PHP version again.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • I created it myself then went it

    my System :

    - Distribution: Debian | Release: 9.13 | Codename: wheezy
    - i-MSCP Version: i-MSCP 1.5.3| Build: 20181208 | Codename: Ennio Morricone
    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), SpamAssassin (v 2.0.1)
    - LetsEncrypt (v3.3.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)YubiKeyAuth 1.1.0